Click here to Skip to main content
15,909,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: USB SD Card reader message Pin
Requiem Sollar9-Feb-06 6:42
Requiem Sollar9-Feb-06 6:42 
AnswerRe: USB SD Card reader message Pin
Requiem Sollar9-Feb-06 9:32
Requiem Sollar9-Feb-06 9:32 
Questionfocus on dynamic button Pin
mk_le8-Feb-06 8:12
mk_le8-Feb-06 8:12 
AnswerRe: focus on dynamic button Pin
Ravi Bhavnani8-Feb-06 8:43
professionalRavi Bhavnani8-Feb-06 8:43 
GeneralRe: focus on dynamic button Pin
mk_le8-Feb-06 8:49
mk_le8-Feb-06 8:49 
AnswerRe: focus on dynamic button Pin
_AnsHUMAN_ 8-Feb-06 17:19
_AnsHUMAN_ 8-Feb-06 17:19 
Questionmalloc() Pin
paully8-Feb-06 7:14
paully8-Feb-06 7:14 
AnswerRe: malloc() Pin
toxcct8-Feb-06 7:40
toxcct8-Feb-06 7:40 
hi,

could you please tell how you're verifying your assertions ?

did you debug or use any if (myList != NULL) ?

i cannot see what's wrong in your code. all seem to be correctly done...

one thing anyway : did you check the remaining memory on your computer ??
(even if i doubt it could be that...)


ps: if you're going to cose with C, declare your struct variables like this :
struct myNode* myList = NULL; 
struct myNode* head = NULL;


ps2: when you use dynamically allocated variables like this, don't use them directly as you do here, because there always is the risk that the variable is not allocated, and so, the call to -> operator will fail... (which seeems to be exactly the case here) ; round your code with check tests as presented previously...

ps3: don't forget to free the memory you mallocated...


TOXCCT >>> GEII power
[toxcct][VisualCalc 2.20][VCalc 3.0 soon...]

-- modified at 13:40 Wednesday 8th February, 2006
GeneralRe: malloc() Pin
paully8-Feb-06 8:39
paully8-Feb-06 8:39 
QuestionRe: malloc() Pin
David Crow8-Feb-06 8:58
David Crow8-Feb-06 8:58 
QuestionOracle, CDatabase and multithread Pin
Nandiator8-Feb-06 6:21
Nandiator8-Feb-06 6:21 
AnswerRe: Oracle, CDatabase and multithread Pin
Chris Meech8-Feb-06 6:41
Chris Meech8-Feb-06 6:41 
QuestionProblem with FindNextChangeNotification Pin
Dan Neely8-Feb-06 5:19
Dan Neely8-Feb-06 5:19 
AnswerRe: Problem with FindNextChangeNotification Pin
James R. Twine8-Feb-06 6:20
James R. Twine8-Feb-06 6:20 
GeneralRe: Problem with FindNextChangeNotification Pin
Dan Neely8-Feb-06 7:16
Dan Neely8-Feb-06 7:16 
QuestionRe: Problem with FindNextChangeNotification Pin
David Crow8-Feb-06 9:00
David Crow8-Feb-06 9:00 
AnswerRe: Problem with FindNextChangeNotification Pin
Dan Neely8-Feb-06 9:51
Dan Neely8-Feb-06 9:51 
GeneralRe: Problem with FindNextChangeNotification Pin
David Crow8-Feb-06 10:16
David Crow8-Feb-06 10:16 
GeneralRe: Problem with FindNextChangeNotification Pin
Dan Neely8-Feb-06 11:41
Dan Neely8-Feb-06 11:41 
GeneralRe: Problem with FindNextChangeNotification Pin
David Crow9-Feb-06 2:51
David Crow9-Feb-06 2:51 
QuestionTree control bug? Pin
Gary Wheeler8-Feb-06 4:24
Gary Wheeler8-Feb-06 4:24 
AnswerRe: Tree control bug? Pin
David Crow8-Feb-06 4:45
David Crow8-Feb-06 4:45 
GeneralRe: Tree control bug? Pin
Gary Wheeler8-Feb-06 4:56
Gary Wheeler8-Feb-06 4:56 
AnswerRe: Tree control bug? Pin
James R. Twine8-Feb-06 4:59
James R. Twine8-Feb-06 4:59 
GeneralRe: Tree control bug? Pin
Gary Wheeler8-Feb-06 5:07
Gary Wheeler8-Feb-06 5:07 

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.