|
-
Feb 3rd, 2002, 09:12 PM
#6
Fanatic Member
Originally posted by parksie
Code:
char *mystring = new char[<maxlength>];
//free if
free (mystring)
Ick ick ick 
Code:
char *mystring = new char[<maxlength>];
//free if
delete[] mystring;
Don't use free and new on the same pointer.
ah okay...maybe thats why...
i learned something today
Visit www.fragblast.com
Gaming, forums, and a online RPG/Battle system
(__Flagg) DOT NET? is this a Hindi Dating service?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|