#include <vector> no such file or directory
Therefore, I need to use vectors in my project. I changed the .m file to .mm to make it Objective-C ++. But when I try to say:
#include <vector> My .h says no file or directory found. If I put this line of code, although in my .mm file, although the error does not appear, but since I need a vector in @interface (which is in my .h), what should I do to make the .h file find the vector file ?
In addition, I tried to change it to compile everything as Objective-C ++, but this does not work, because I get some errors in the Cocos2d library that I use ...
+6