Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to retrieve the memory information Pin
David Crow15-Nov-06 4:27
David Crow15-Nov-06 4:27 
GeneralRe: How to retrieve the memory information Pin
Programm3r15-Nov-06 4:33
Programm3r15-Nov-06 4:33 
QuestionRe: How to retrieve the memory information Pin
David Crow15-Nov-06 4:23
David Crow15-Nov-06 4:23 
AnswerRe: How to retrieve the memory information Pin
Viorel.15-Nov-06 4:43
Viorel.15-Nov-06 4:43 
QuestionHow to test for a Bad Ptr "0xcccccccc" Pin
Programm3r15-Nov-06 3:18
Programm3r15-Nov-06 3:18 
AnswerRe: How to test for a Bad Ptr "0xcccccccc" Pin
Cedric Moonen15-Nov-06 3:21
Cedric Moonen15-Nov-06 3:21 
GeneralRe: How to test for a Bad Ptr "0xcccccccc" Pin
Programm3r15-Nov-06 3:23
Programm3r15-Nov-06 3:23 
QuestionRe: How to test for a Bad Ptr "0xcccccccc" Pin
Programm3r15-Nov-06 3:38
Programm3r15-Nov-06 3:38 
Cedric,

After doing what you said (and it works of course).
The very last element has these characters "ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ".
I assume it is garbage or something ... how can I test for this...

Just to let you know I'm retrieveing data from a file, and putting it into the char array.

If I press enter on the very last entry in the text file, the last element in the array is: ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ

And if I don't press enter I get someting like this:
dataline1ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ

Thanx in advance ... again

The only programmers that are better than C programmers are those who code in 1's and 0's..... Smile | :)

Smile | :) Programm3r

AnswerRe: How to test for a Bad Ptr "0xcccccccc" Pin
Maximilien15-Nov-06 3:43
Maximilien15-Nov-06 3:43 
GeneralRe: How to test for a Bad Ptr "0xcccccccc" Pin
Programm3r15-Nov-06 4:03
Programm3r15-Nov-06 4:03 
AnswerRe: How to test for a Bad Ptr "0xcccccccc" Pin
Chris Losinger15-Nov-06 3:34
professionalChris Losinger15-Nov-06 3:34 
GeneralRe: How to test for a Bad Ptr "0xcccccccc" Pin
Programm3r15-Nov-06 3:42
Programm3r15-Nov-06 3:42 
GeneralRe: How to test for a Bad Ptr "0xcccccccc" Pin
James R. Twine15-Nov-06 7:37
James R. Twine15-Nov-06 7:37 
QuestionOwner draw buttton:Unable to handle enter key event Pin
Manish_Home15-Nov-06 3:13
Manish_Home15-Nov-06 3:13 
AnswerRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT15-Nov-06 7:54
Hamid_RT15-Nov-06 7:54 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Manish_Home15-Nov-06 17:22
Manish_Home15-Nov-06 17:22 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT15-Nov-06 18:36
Hamid_RT15-Nov-06 18:36 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Manish_Home15-Nov-06 19:17
Manish_Home15-Nov-06 19:17 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT15-Nov-06 20:07
Hamid_RT15-Nov-06 20:07 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Manish_Home15-Nov-06 20:30
Manish_Home15-Nov-06 20:30 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT15-Nov-06 21:00
Hamid_RT15-Nov-06 21:00 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Manish_Home14-Dec-06 22:10
Manish_Home14-Dec-06 22:10 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT14-Dec-06 22:30
Hamid_RT14-Dec-06 22:30 
QuestionReadFile() - Buffer... Pin
Programm3r15-Nov-06 1:48
Programm3r15-Nov-06 1:48 
AnswerRe: ReadFile() - Buffer... Pin
Monty215-Nov-06 2:02
Monty215-Nov-06 2:02 

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.