0

Run text in console in C++.

How I may to show run text in console.

18th Oct 2019, 7:41 AM
Ti-Jai Rus
Ti-Jai Rus - avatar
4 Respostas
+ 2
Text printed to STDOUT or STDERR is displayed in a small section representing the console, and is shown whenever you execute the program using the 'Run' button. Also, note that all input will be taken before the output is displayed using a separate dialog, and thus, showing a prompt for input is not possible, as it will be displayed after the input is sent. This is because the programs are executed on a server and thus, prior to execution, all information must be available. To specify the type of input your program requires, you can use comments at the beginning of the code, specifying the desired information about the same.
18th Oct 2019, 7:59 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 2
Ti-Jai Rus I don't think so, as characters once printed on the console in Code Playground cannot be erased.
18th Oct 2019, 9:02 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
0
If I want that user select direction (for instance - left) and text as ticker run from left in need to me position. Can I do this?
18th Oct 2019, 8:17 AM
Ti-Jai Rus
Ti-Jai Rus - avatar
0
Okey, thanks) My teacher in the university give me that task and I don't know what to do(
18th Oct 2019, 10:59 AM
Ti-Jai Rus
Ti-Jai Rus - avatar