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).
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:
main.cpp:
FBullCowGame.cpp:
FBullCowGame.h: