What is wrong with this code? Could anyone fix it? I keep getting D:\scorerecorder\main.cpp|25|error: expected ';' before string constant|. on most lines as soon as I used the "if/else values I believe"
What I want is for it to display the winning team ( The winning team has a summed up value of 16 ) or if both got 15 it's a draw (It's based off of CSGO :) )
try to declare variables first when you have a meaningfull value to give them.
That might not compile for some compilers, because you are missing <string> header.
I cannot reproduce your problem. Input works just fine.