I want to use c*+ string variable. However, every time I follow the normal way in c*+ to declare a string variable, it shows that “expected ‘;’ before stringvariable”. I’m using Eclipse to develop an android project. How to use string in cocos2dx?
[Solved]How to use string variable in cocos2dx?
Show your code please.
The problem is solved. I think it is about the std namespace. Thank you for your reply.