Unexpected end of file found

Want to improve this question? Update the question so it’s on-topic for Stack Overflow.

Closed 2 years ago .

Hi guys i have been check for my code many many times but i still confuse where is this error come from. This error appear while build solution.

> "Почему то вываливается ошибка Parse error: syntax error, unexpected end of file in H:xampphtdocsphptest.php on line 41
41 строка это последняя(там где "

Синтаксис у вас с ошибкой. Где-то не закрыли кавычку или еще что-то.
Вы даже в вопросе на тостере скобку не закрыли и предложение не дописали

I get the above error message (which I googled and found is something to do with a missing curly brace or something), however, I cannot see where this missing bracket is?

4 Answers 4

In C++, the class keyword requires a semicolon after the closing brace:

Your class Something needs to have a terminating semicolon.

You need a semicolon ( ; ) after the closing brace ( > ) of the class Something definition

you might have missed

Not the answer you’re looking for? Browse other questions tagged c++ visual-c++ or ask your own question.



Hot Network Questions

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2020 Stack Exchange Inc; user contributions licensed under cc by-sa 4.0 with attribution required. rev 2020.1.17.35809