+ 1

In Sololearn, is there a way to make it ask for inputs throughout the program rather than all at the beginning? I'm using c++.

For example, if you want to create a game, you need to be able to respond to what happens rather than just input things all at the beginning.

13th Nov 2017, 5:55 PM
Nathan Comer
Nathan Comer - avatar
3 Answers
+ 3
You can do this by including functions & classes into your program. Make sure you're using a local IDE rather than just SoloLearn, because non-web-based codes' outputs are very limited in SoloLearn's IDE.
13th Nov 2017, 5:59 PM
Fox
Fox - avatar
+ 2
Only in Html. Programming languages still dont support real time inputs. So, there is no way.
13th Nov 2017, 5:58 PM
AlphaCoder
AlphaCoder - avatar
+ 1
no, it's not possible in SoloLearn, but everywhere else
13th Nov 2017, 6:29 PM
‎ɐısıօՏɐ
‎ɐısıօՏɐ - avatar