0
Even though I put in "int main()" correctly in the coding playground, I'm still getting notfied that it is incorrect...what could I be doing wrong?
5 Réponses
+ 2
Its may be because :
You dont have semicolons after each command (;)
Or
because you have the wrong type of parenthesis () {}.
I recomend using a debug tool or comenting out some code to see whats wrong
+ 2
It's hard to say without seeing the code. It's possible that you have defined main properly. The following is probably the bare minimum
int main () {return 0;}
+ 1
Got it figured out, thanks for the help!
0
Yes true
0
Try
int main() {
<your code>
return 0;
}