What do you use instead of NSMutableString and NSMutableDictionary?

Hi!,

I’m building a port form cocos2d-iphone to cocos2d-x. What do you usually use to substitute NSMutableString? Do you use a simple std::string or what? And what about NSMutableDictionary? do you use a simple std::map?

Thanks in advance.

Yeah you can either use std::string and std::map or you can use CCString for NSMutableString and CCDictionary for NSMutableDictionary, but you need to retain it and release once you are not using it.

FaRHaN