In c++? You mean with the Arduino IDE? Open the Serial Monitor from the drop-down menu. Then use Serial.begin(9600) in your code and set the Serial Monitor to the same baud rate (lower right corner) as your Serial.Begin command.
Or, if using a home brew app, then you need to push bytes from the arduino using the Serial.begin and serial.print() or println commands to send the data to some program that is receiving the data.