Click here to Skip to main content
15,915,869 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Happy the midautumn Day! Pin
toxcct25-Sep-07 4:26
toxcct25-Sep-07 4:26 
GeneralRe: Happy the midautumn Day! Pin
Vaclav_25-Sep-07 6:32
Vaclav_25-Sep-07 6:32 
GeneralRe: Happy the midautumn Day! Pin
toxcct25-Sep-07 6:35
toxcct25-Sep-07 6:35 
GeneralRe: Happy the midautumn Day! Pin
Jeremy Falcon25-Sep-07 7:56
professionalJeremy Falcon25-Sep-07 7:56 
GeneralOT Pin
leckey25-Sep-07 8:10
leckey25-Sep-07 8:10 
GeneralRe: OT Pin
Jeremy Falcon25-Sep-07 8:18
professionalJeremy Falcon25-Sep-07 8:18 
AnswerTip of the day. Pin
Eytukan25-Sep-07 6:54
Eytukan25-Sep-07 6:54 
AnswerRe: Happy the midautumn Day! Pin
Hamid_RT25-Sep-07 19:39
Hamid_RT25-Sep-07 19:39 
QuestionLeast Recently Used Pin
Vinod CS25-Sep-07 3:42
Vinod CS25-Sep-07 3:42 
GeneralRe: Least Recently Used Pin
Matthew Faithfull25-Sep-07 4:58
Matthew Faithfull25-Sep-07 4:58 
QuestionHow to add an Pointer with string Pin
Exelioindia25-Sep-07 3:27
Exelioindia25-Sep-07 3:27 
AnswerRe: How to add an Pointer with string [modified] Pin
toxcct25-Sep-07 3:29
toxcct25-Sep-07 3:29 
GeneralRe: How to add an Pointer with string Pin
Cedric Moonen25-Sep-07 3:35
Cedric Moonen25-Sep-07 3:35 
GeneralRe: How to add an Pointer with string Pin
toxcct25-Sep-07 3:39
toxcct25-Sep-07 3:39 
AnswerRe: How to add an Pointer with string Pin
Cedric Moonen25-Sep-07 3:34
Cedric Moonen25-Sep-07 3:34 
Questiondynamically reading data?? Pin
srvsah25-Sep-07 3:06
srvsah25-Sep-07 3:06 
AnswerRe: dynamically reading data?? Pin
toxcct25-Sep-07 3:24
toxcct25-Sep-07 3:24 
AnswerRe: dynamically reading data?? Pin
KarstenK25-Sep-07 3:28
mveKarstenK25-Sep-07 3:28 
GeneralRe: dynamically reading data?? Pin
srvsah26-Sep-07 2:25
srvsah26-Sep-07 2:25 
AnswerRe: dynamically reading data?? Pin
Matthew Faithfull25-Sep-07 3:38
Matthew Faithfull25-Sep-07 3:38 
AnswerRe: dynamically reading data?? Pin
Hamid_RT25-Sep-07 19:33
Hamid_RT25-Sep-07 19:33 
QuestionCString max character length Pin
GDavy25-Sep-07 3:02
GDavy25-Sep-07 3:02 
AnswerRe: CString max character length Pin
toxcct25-Sep-07 3:22
toxcct25-Sep-07 3:22 
GeneralRe: CString max character length Pin
Matthew Faithfull25-Sep-07 3:24
Matthew Faithfull25-Sep-07 3:24 
From memory 32767. Two things to note-
The best way to confirm this is to look at the CString source.
The other thing that doing this will confirm for you is that if you're going anywhere near needing to know what the limit is you shouldn't be using CStrings. A preallocated 32K or 64K character buffer will likely be serveral times faster, depending on what you're doing with it of course, and the Win32 API and MSVCRT have a vast array of string functions that operate directly on character arrays. Good luck.

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: CString max character length Pin
toxcct25-Sep-07 3:26
toxcct25-Sep-07 3:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.