Lots of errors I don't understand

I keep getting errors in my code that I simply don’t understand. It all seemed to have started when I added lines 2 and 3 at the top of my code (see picture).
new%20code
It’s mostly syntax errors, undeclared identifiers, and other stuff that seemed to pop out of nowhere. I have no idea what’s causing the problem. I’ve tried:

  • Opening and closing the solution
  • Restarting Microsoft Visual Studio
  • Removing the #include <map> and #define TMap std::map code and running without debugging

Let me know if you need extra information.

OS: Windows Server 2012 R2 Standard (Comparable to Windows 8.1)

Errors:
errors
main.cpp:


FBullCowGame.cpp:
cpp1
FBullCowGame.h:

Nevermind, I found the solution on Discord. Turns out that there was a semi-colon missing in the last line of code in the header file. :joy::joy::joy:

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

Privacy & Terms