Click here to Skip to main content
15,886,802 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to tokenize a string Pin
Saurabh.Garg12-Jul-08 19:41
Saurabh.Garg12-Jul-08 19:41 
AnswerRe: How to tokenize a string Pin
Ștefan-Mihai MOGA12-Jul-08 20:44
professionalȘtefan-Mihai MOGA12-Jul-08 20:44 
Questionhow to find a word in a string from the end? Pin
Nandu_77b12-Jul-08 8:57
Nandu_77b12-Jul-08 8:57 
AnswerRe: how to find a word in a string from the end? Pin
Luc Pattyn12-Jul-08 9:06
sitebuilderLuc Pattyn12-Jul-08 9:06 
QuestionRe: how to find a word in a string from the end? Pin
Nandu_77b12-Jul-08 9:16
Nandu_77b12-Jul-08 9:16 
AnswerRe: how to find a word in a string from the end? Pin
Luc Pattyn12-Jul-08 9:27
sitebuilderLuc Pattyn12-Jul-08 9:27 
QuestionRe: how to find a word in a string from the end? Pin
Nandu_77b12-Jul-08 10:30
Nandu_77b12-Jul-08 10:30 
AnswerRe: how to find a word in a string from the end? Pin
Bram van Kampen12-Jul-08 13:41
Bram van Kampen12-Jul-08 13:41 
Is there any external data available that indicates the length of the string.

I would consider it sort of nasty to send anyone a \0 terminated string of upto 10 MByte.( A bit Error prone too) If it comes to that type of size, an extra 4 bytes to indicate the length of the string at the start would help, (i.e. Make it a Pascal String) and will hardly hit performance.)

But, How does your Receiving Software know to allocate buffer of sufficient size to hold the data in the first place. Drill into that with your debugger, and you might find your answer.

Regards, Smile | :)

Bram van Kampen

QuestionConverting CString to const char* [modified] -Solved again Pin
Marc Clifton12-Jul-08 6:02
mvaMarc Clifton12-Jul-08 6:02 
AnswerRe: Converting CString to const char* [modified] -Solved again Pin
Mark Salsbery12-Jul-08 8:11
Mark Salsbery12-Jul-08 8:11 
AnswerRe: Converting CString to const char* [modified] -Solved again Pin
Nandu_77b12-Jul-08 9:05
Nandu_77b12-Jul-08 9:05 
GeneralRe: Converting CString to const char* [modified] -Solved again Pin
Marc Clifton12-Jul-08 9:11
mvaMarc Clifton12-Jul-08 9:11 
QuestionWTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton12-Jul-08 5:34
mvaMarc Clifton12-Jul-08 5:34 
AnswerRe: WTF: Linker can only find inline functions [modified] - Solved Pin
bob1697212-Jul-08 7:11
bob1697212-Jul-08 7:11 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton12-Jul-08 9:10
mvaMarc Clifton12-Jul-08 9:10 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Bram van Kampen12-Jul-08 13:55
Bram van Kampen12-Jul-08 13:55 
AnswerRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Saurabh.Garg12-Jul-08 19:58
Saurabh.Garg12-Jul-08 19:58 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton13-Jul-08 3:04
mvaMarc Clifton13-Jul-08 3:04 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Saurabh.Garg13-Jul-08 4:28
Saurabh.Garg13-Jul-08 4:28 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton13-Jul-08 5:43
mvaMarc Clifton13-Jul-08 5:43 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Saurabh.Garg13-Jul-08 4:30
Saurabh.Garg13-Jul-08 4:30 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton13-Jul-08 5:45
mvaMarc Clifton13-Jul-08 5:45 
QuestionCArray in CMap Pin
Trupti Mehta12-Jul-08 4:35
Trupti Mehta12-Jul-08 4:35 
AnswerRe: CArray in CMap Pin
Ștefan-Mihai MOGA12-Jul-08 23:06
professionalȘtefan-Mihai MOGA12-Jul-08 23:06 
GeneralRe: CArray in CMap Pin
Trupti Mehta13-Jul-08 0:36
Trupti Mehta13-Jul-08 0:36 

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.