+ 1

Timed Inputs C++

Solocode has me entering my inputs before the code starts, how do I set it to where I only input when prompted?

5th Jun 2019, 12:59 PM
Chibi Edith
Chibi Edith - avatar
3 Réponses
+ 4
Unfortunately, you can't, as the code saved is compiled and executed on the server, and that is why all possible input must be supplied before the program is executed.
5th Jun 2019, 1:56 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 1
All online compilers work the same way, and will prompt to provide input before execution. The only solution is to install an application that provides an offline compiler, like CxxDroid or CppDroid, or a command line utility, like Termux, to install a compiler yourself. For a list of some useful apps providing offline compilers and interpreters, you can visit this post: https://www.sololearn.com/discuss/366870/?ref=app
6th Jun 2019, 2:48 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
0
Well that sucks, anywhere I can do that?
6th Jun 2019, 2:38 AM
Chibi Edith
Chibi Edith - avatar