0

Syntax error in c++ program

wtf I can't understand the problem, I'm trying to program a simple minigame with integers in c++. I've made 2 difficulties : easy and hard. I tried a lot with things like classes, or just only with if, for and switch statements, I made the first, difficulty easy and that's ok, but then I've made the difficulty hard, and that's the mistake. code : https://code.sololearn.com/c8s3jbvPSBN3/#cpp

20th Nov 2017, 8:48 PM
Avram Vlad
Avram Vlad - avatar
4 Réponses
0
yeah, I saw just now, the code is now public lol
20th Nov 2017, 8:36 PM
Avram Vlad
Avram Vlad - avatar
+ 5
Put the code here to see the error, push insert option in the comment menu
19th Nov 2017, 8:16 PM
Iago
Iago - avatar
+ 4
I visited your profile, maybe your code is private? in that case only you can link the code, go edit your question, and link the code by tapping on + Insert... button → Insert Code → My Codes, then pick the code, if the + Insert button is not available, go to your profile Code section, open the code, and tap share button above, select Copy to clipboard, then edit your question and paste the code link.
19th Nov 2017, 8:45 PM
Ipang
+ 4
@Template So while you were just editing this thread, why didn't you post the link for us also? In the future, that'll make it easier for people to help you out. For example, I'm too lazy to go to your profile, search for your code, and then help. However, if you posted it here, I'd sit at my desk until I figured out your problem, even if it took me hours. lol Anyways, good luck.
20th Nov 2017, 8:44 PM
AgentSmith