|
-
May 20th, 1999, 06:39 AM
#1
How many characters can a CString conatain?
How many characters can a CString object conatin?
-
May 20th, 1999, 06:42 AM
#2
Re: How many characters can a CString conatain?
As many as you like... Until you run out of memory...
-
May 20th, 1999, 07:43 AM
#3
Re: How many characters can a CString conatain?
As many numbers as a long variable can hold.
2^32.
Wayne
-
May 20th, 1999, 08:07 AM
#4
Re: How many characters can a CString conatain?
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).
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
|