Skip to main content

How to use output from Arduino serial monitor in c++ code?

I am a complete novice in Arduino and moderatly experienced with the language c++. What if I want to use the output from the serial monitor in a c++ code in real time. Also how can I write to the serial monitor. Which libraries are available for this? Also please give me links to sites where I can learn more about this topic. I am using Arduino UNO.