In the Arduino sketch, you can write to the serial port, using Serial.print() and Serial.println().
In the C++ application, you can read from the serial port, too. At the top of the program, select the SerialPort type, and press the F1 key. You will be able to learn all about the SerialPort object, including how to read from it.