Hello guys.
I’m a newbie coming from pure Objective-C Cocos2D framework.Now i need to do a fairly simple task.
Need to take each letter from NSString and create a dynamic file name based on each letter. On Objective-C I would iterate through each letter and user the [NSString stringWithFormat "%
“]. Or something similar.
Now… how can this be ported into C++? Here I got char * or std:string… How can I generate new strings using each char*? Which function use to do that maybe something like”myfileName%c"?
Thanks a lot.