+ 3

Displaying a cout statement in C++

I've noticed that when ever you use cout the text does not get displayed until the program is finished running. Is their a way to change the text in the box that pops up to input data when cin is used?

19th Apr 2017, 1:23 PM
Ty Ler
Ty Ler - avatar
4 Réponses
+ 10
That is the problem with the sololearn IDE. All inputs must be given at the start.
19th Apr 2017, 1:26 PM
Pixie
Pixie - avatar
+ 3
nope. thats just how sololearn works. all the input here must be done at the beginning
19th Apr 2017, 1:26 PM
Edward
+ 3
Thanks. I suppose this could work out in helping me practice commenting, so someone knows in advance on what to type. Also why is my comment not going to the top? Puts me right in the middle out of order. XD Edit: Never mind I see that comments are ranked by up votes and the more recent ones are put on top if they have the same number of votes.
19th Apr 2017, 1:44 PM
Ty Ler
Ty Ler - avatar
0
There is a "Sort by" drop-down on the right below the question that lets you re-sort by posting time.
19th Apr 2017, 4:29 PM
Igor B
Igor B - avatar