Open NN--- opened 12 years ago
В чем заключается "doesn't like"?
Подкрашивает красным цветом.
Error 8 parse error near `(...)' group: unexpected token after type declaration (you forget a closing bracket?). C:\Projects\test\ConsoleApplication15\ConsoleApplication15\Class1.n 1 15 ConsoleApplication15
Error 6 parse error near `{...}' group: unexpected token after type declaration (you forget a closing bracket?). C:\Projects\test\ConsoleApplication15\ConsoleApplication15\Class1.n 1 4 ConsoleApplication15
Error 5 parse error near keyword `do': expecting type declaration C:\Projects\test\ConsoleApplication15\ConsoleApplication15\Class1.n 1 1 ConsoleApplication15
Error 7 parse error near keyword `while': expecting type declaration C:\Projects\test\ConsoleApplication15\ConsoleApplication15\Class1.n 1 9 ConsoleApplication15
This code is correct and compiles fine but VS doesn't like it.