my project was working fine and then when i change something in another header file i suddenly got this error:
Error C2065 'map': undeclared identifier
although i did #include <map>
part of Game.h:
#include <map>
class Game{
Game();
}
the line which gives me the error in Game.cpp:
_results.insert(map<std::string, int>::value_type(_players[i]->getUsername(), 0));
this code line worked fine ! until some point