Alfred
May 20th, 1999, 06:39 AM
How many characters can a CString object conatin?
|
Click to See Complete Forum and Search --> : How many characters can a CString conatain? Alfred May 20th, 1999, 06:39 AM How many characters can a CString object conatin? May 20th, 1999, 06:42 AM As many as you like... Until you run out of memory... Wayne Fuller May 20th, 1999, 07:43 AM As many numbers as a long variable can hold. 2^32. Wayne Jason Teagle May 20th, 1999, 08:07 AM I seem to remember seeing somewhere that a CString couldn't hold more than 32767 characters, but I have just tried adding 65536 and it was OK. Has anyone else seen this 'limit'? Perhaps it is a throw-back to 16-bit VC++, where the parameter to GetBuffer() was an int (therefore, a maximum of 32767). codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |