+ 3
System("pause")
In this app System ("pause") is not working :( can you help me? Sorry for my English, but i'm from POLAND :D
2 Answers
+ 10
SoloLearn does not provide a live console for console apps, i.e. You cannot pause the execution. It's also not considered a good practice, since system() based commands are OS dependent.
https://stackoverflow.com/questions/1107705/systempause-why-is-it-wrong
+ 3
I usually pause like this:
string str;
getline(cin, str);
Waits for ENTER to be pressed, still wonât work here though.