[gameprogrammer] Re: Is this valid?

Kevin Jenkins wrote:
std::string s;
s.reserve(strlen("Hello world"));
strcpy(s.c_str(), "Hello world");

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html



What kind of C/C++ compiler is that?

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: