cin asking for input before method is called? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

cin asking for input before method is called?

Hello guys, I am trying to learn the logic behind a minesweeper game on here, and I am trying to use cin to get input for the player's moves, but it is asking for an input before the method is called... I'm sorry I am not very good at C++

25th Oct 2020, 3:57 AM
ScriptingEngine
ScriptingEngine - avatar
2 Answers
+ 1
All the input must be handled once the program starts in SoloLearn, so I'm afraid you can't do that. You can, however, use a compiler in the computer.
25th Oct 2020, 3:59 AM
你知道規則,我也是
你知道規則,我也是 - avatar
0
SoloLearn doesn't support runtime input.So use an offline compiler
25th Oct 2020, 4:11 AM
Aditya rout
Aditya rout - avatar