C++ Game Error

Jan 10, 2019 at 2:40pm
closed account (L3bDE3v7)
Done
Last edited on Jan 12, 2019 at 10:43pm
Jan 10, 2019 at 2:56pm
When you say you "type 2", do you mean you press the 2 key and nothing else, or you press 2 and then Enter?

Also, cpp.sh is not intended to develop code, it's meant to show the results of running code to other people online. I recommend you install a proper compiler on your computer.
Jan 10, 2019 at 3:12pm
closed account (L3bDE3v7)
Whenever I type the number '2' and then hit enter, nothing happens. Also, I will install a proper compiler soon, but I'm stuck with cpp.sh for now. But thank you for the help.
Last edited on Jan 10, 2019 at 3:19pm
Jan 10, 2019 at 3:40pm
@sf1237

I just compiled your code in MS Visual Studio 2012 Express, and the program worked with each and every input. So, that shows that there are no errors in your coding, just a bad cpp.sh.
Topic archived. No new replies allowed.