When I compile my code, it has this single error:
"expected declaration before '}' token"
supposedly in the line 347, but my file only has to 242 lines!
What can it be?
Thank you!
The compiler should give the filename - whether it is a cpp file or a header file.
check the error message again.
obviously. that's why I'm saying my file has 242 lines.
Posting your code somewhere might help us figure out the problem.
that means its in a header or a cpp that u wrote linked to the header you wrote.