Click here to Skip to main content
15,910,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Check box in column header of a CListCtrl. Pin
Paresh Chitte19-Nov-07 19:05
Paresh Chitte19-Nov-07 19:05 
QuestionCTreeCtrl problem in MFC Pin
nbugalia12-Nov-07 23:05
nbugalia12-Nov-07 23:05 
AnswerRe: CTreeCtrl problem in MFC Pin
jhwurmbach12-Nov-07 23:49
jhwurmbach12-Nov-07 23:49 
GeneralRe: CTreeCtrl problem in MFC Pin
nbugalia13-Nov-07 1:27
nbugalia13-Nov-07 1:27 
GeneralRe: CTreeCtrl problem in MFC Pin
jhwurmbach13-Nov-07 1:29
jhwurmbach13-Nov-07 1:29 
AnswerRe: CTreeCtrl problem in MFC Pin
Iain Clarke, Warrior Programmer13-Nov-07 2:54
Iain Clarke, Warrior Programmer13-Nov-07 2:54 
Questionhow to do dynamic memory allocation for stuct? Pin
neodeaths12-Nov-07 22:50
neodeaths12-Nov-07 22:50 
AnswerRe: how to do dynamic memory allocation for stuct? Pin
jhwurmbach12-Nov-07 23:46
jhwurmbach12-Nov-07 23:46 
...define person...

struct person *pPerson; //This is a pointer to a person-struct called pPerson
unsigned int count = 10;

pPerson = malloc( count * sizeof( person));
if( pPersion = NULL)  {
  printf( "Insufficient memory available\n" );
  exit(0);
}

...use pPerson...

free( pPerson);



Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

GeneralRe: how to do dynamic memory allocation for stuct? Pin
neodeaths13-Nov-07 5:36
neodeaths13-Nov-07 5:36 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
jhwurmbach13-Nov-07 5:45
jhwurmbach13-Nov-07 5:45 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
neodeaths13-Nov-07 5:51
neodeaths13-Nov-07 5:51 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
jhwurmbach13-Nov-07 5:54
jhwurmbach13-Nov-07 5:54 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
neodeaths13-Nov-07 6:03
neodeaths13-Nov-07 6:03 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
jhwurmbach13-Nov-07 6:06
jhwurmbach13-Nov-07 6:06 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
neodeaths13-Nov-07 6:11
neodeaths13-Nov-07 6:11 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
David Crow13-Nov-07 5:55
David Crow13-Nov-07 5:55 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
neodeaths13-Nov-07 17:11
neodeaths13-Nov-07 17:11 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
David Crow13-Nov-07 17:20
David Crow13-Nov-07 17:20 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
neodeaths13-Nov-07 17:57
neodeaths13-Nov-07 17:57 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
David Crow14-Nov-07 2:26
David Crow14-Nov-07 2:26 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
neodeaths13-Nov-07 22:04
neodeaths13-Nov-07 22:04 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
David Crow14-Nov-07 2:23
David Crow14-Nov-07 2:23 
AnswerRe: how to do dynamic memory allocation for stuct? Pin
Matthew Faithfull12-Nov-07 23:50
Matthew Faithfull12-Nov-07 23:50 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
Cedric Moonen13-Nov-07 1:24
Cedric Moonen13-Nov-07 1:24 
AnswerRe: how to do dynamic memory allocation for stuct? Pin
ThatsAlok13-Nov-07 0:37
ThatsAlok13-Nov-07 0:37 

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.