oF equivalent of cin, for user input in your executable

TLDR: bring chat bot functionality from console using getline() and cout - into an openframeworks executable.

Hey all! This should be a quick one.
Working on a piece concerning primarily a chat bot.
Creating this in the console using simple getline() functions and cout 's worked great.
Now im trying to implement this in my .exe

Writing user input text on the screen has been easy to implement, enter to get rid of the text on screen.

However, functionality worked great in console, as cin (excuse my lack of compSci knowledge here) pauses the code and waits for input. How do i implement this inside my exectuable.