usb communication with c++

I'm sorry, but I don't know. :~
I wanted to test the communication, but somehow I am not receiving anything with my c++ program.
I have not made a c++ program on the PC for the serial port before.
Normal programs like gtkterm can communicate without problem.