Click here to Skip to main content
15,902,198 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
neodeaths wrote:
if i could i could probably do a array_mem_size/sizeof(struct people)


This would only work for stack-based memory, not heap-based memory allocated with malloc().


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


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 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
Iain Clarke, Warrior Programmer13-Nov-07 2:56
Iain Clarke, Warrior Programmer13-Nov-07 2:56 
GeneralRe: how to do dynamic memory allocation for stuct? Pin
ThatsAlok13-Nov-07 4:45
ThatsAlok13-Nov-07 4:45 
QuestionHow to hide or package resource folder? Pin
Peter, Chan12-Nov-07 22:22
Peter, Chan12-Nov-07 22:22 
AnswerRe: How to hide or package resource folder? Pin
ThatsAlok13-Nov-07 0:51
ThatsAlok13-Nov-07 0:51 
QuestionOutlook Automation Pin
NiceNaidu12-Nov-07 22:12
NiceNaidu12-Nov-07 22:12 
AnswerRe: Outlook Automation Pin
David Crow13-Nov-07 3:34
David Crow13-Nov-07 3:34 
GeneralRe: Outlook Automation Pin
NiceNaidu13-Nov-07 5:47
NiceNaidu13-Nov-07 5:47 
GeneralRe: Outlook Automation Pin
David Crow13-Nov-07 5:54
David Crow13-Nov-07 5:54 
QuestionShare files across Projects in the same solution Pin
uusheikh12-Nov-07 22:01
uusheikh12-Nov-07 22:01 
AnswerRe: Share files across Projects in the same solution Pin
Cedric Moonen12-Nov-07 22:09
Cedric Moonen12-Nov-07 22:09 
GeneralRe: Share files across Projects in the same solution Pin
uusheikh12-Nov-07 22:15
uusheikh12-Nov-07 22:15 
GeneralRe: Share files across Projects in the same solution Pin
Cedric Moonen12-Nov-07 22:25
Cedric Moonen12-Nov-07 22:25 

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.