0

the c++ compiler issue

when the code written from c++ code is run and theres an input stream within it to take the written code the napply it to the programe. how come the code takes input first then brings out put including the promt statement

23rd Apr 2019, 1:57 PM
Vukani Nqubeko Gcabashe
Vukani Nqubeko Gcabashe - avatar
1 ответ
+ 5
If you are talking about running it within SoloLearn, it is a byproduct of how they run programs. You get prompted to enter all input on your device. Once complete, the target code and input are sent to a remote server to compile and run. After the program completes or times out, the output is sent back to your device for display.
22nd May 2019, 4:42 AM
John Wells
John Wells - avatar