|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Antwort: Using strings in C++
The most simple way isto use MFC (in case you use MSVC++). There's a class
called CString which has operator overloads just like the java class String...
If you're using Borldand, then TString will be the class you're looking for...
If you do NOT want to use MFC, you've got to write a wrapper (as you've already
guesses) with operator-overloads, like this:
class cString
{
char* m_strText;
....
operator + ( cString other );
operator + ( char* strOther );
...
}
=================================================================
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
|
|