|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: pointers and text-based rpg problem
there is a string class in C++ which elimaintes the need for this manual
allocation.
#include <string>
...
string test = "the lord is my ... ";
cout << test;
...
i think you can append with test.append("shepard ...");
and test << "i shall not...";
--
etoffi
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once
To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html
|
|