When i compile a c++ program using the command+shift+b shortcut, and in the program there is a cin >> x line, it doesn’t ask me anything, how can i fix it?
Thank you in advance.
When i compile a c++ program using the command+shift+b shortcut, and in the program there is a cin >> x line, it doesn’t ask me anything, how can i fix it?
Thank you in advance.
I don’t think the output panel can accept inputs (there is probably a more technical description for this). You might look into plug-ins that provide some kind of terminal/console interaction. Someone else might recommend one
Otherwise, I assume it would be possible to re-direct input from a text file(?) for testing purposes.