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?

20th Dec 2016, 12:22 AM
Rrrrroberto
5 odpowiedzi
+ 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
20th Dec 2016, 1:15 AM
Dmitriy
Dmitriy - avatar
+ 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;}
20th Dec 2016, 1:17 AM
Grand
+ 1
Got it figured out, thanks for the help!
20th Dec 2016, 1:24 AM
Rrrrroberto
0
Yes true
20th Dec 2016, 1:18 AM
Dmitriy
Dmitriy - avatar
0
Try int main() { <your code> return 0; }
20th Dec 2016, 1:25 AM
B L
B L - avatar