[gameprogrammer] Re: Is this valid?
- From: Yasser Gonzalez Soto <yassergs@xxxxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Fri, 25 Jan 2008 08:26:25 +0100
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
- References:
- [gameprogrammer] Is this valid?
- From: Kevin Jenkins
Other related posts:
std::string s;
s.reserve(strlen("Hello world"));
strcpy(s.c_str(), "Hello world");
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- [gameprogrammer] Is this valid?
- From: Kevin Jenkins