[gameprogrammer] Is this valid?
- From: Kevin Jenkins <gameprogrammer@xxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Thu, 24 Jan 2008 22:08:41 -0800
std::string s;
s.reserve(strlen("Hello world"));
strcpy(s.c_str(), "Hello world");
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: Is this valid?
- From: Alan Wolfe
- [gameprogrammer] Re: Is this valid?
- From: Matthew Weigel
- [gameprogrammer] Re: Is this valid?
- From: Yasser Gonzalez Soto
Other related posts:
- [gameprogrammer] Re: Is this valid?
- From: Alan Wolfe
- [gameprogrammer] Re: Is this valid?
- From: Matthew Weigel
- [gameprogrammer] Re: Is this valid?
- From: Yasser Gonzalez Soto