Visual Studio Community Edition suddenly showing countless errors

Visual Studio Community Edition suddenly showing countless errors to a code which was running fine, I also tried copying the exact code from lecture notes but its the same result.

Here are some screenshots :slight_smile:

2.

3.

Hi,

In your first screenshot you appear to have commented out the opening brace for the method, e.g.

void ShowMainMenu()
// {

Remove the // characters, which enable commenting.

The reason there are so many errors is because once you get one, often they will cascade, e.g. the compiler cannot understand much of anything after this point because of the brace issue.

Hope this helps :slight_smile:

1 Like

Thanks.:grinning:

1 Like

You’re more than welcome Sahil - glad you can move forward again :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms