Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to receive data from microcontroller wirelessly Pin
Muhammad Azeem Azam17-Aug-06 3:36
Muhammad Azeem Azam17-Aug-06 3:36 
AnswerRe: how to receive data from microcontroller wirelessly Pin
Rage17-Aug-06 4:05
professionalRage17-Aug-06 4:05 
QuestionColors to the controls Pin
kiranin17-Aug-06 3:36
kiranin17-Aug-06 3:36 
AnswerRe: Colors to the controls Pin
Hamid_RT17-Aug-06 3:47
Hamid_RT17-Aug-06 3:47 
AnswerRe: Colors to the controls Pin
Wim Engberts17-Aug-06 3:49
Wim Engberts17-Aug-06 3:49 
AnswerRe: Colors to the controls Pin
Mahesh Kulkarni17-Aug-06 3:56
Mahesh Kulkarni17-Aug-06 3:56 
QuestionReplacing Floating frame class ( m_pFloatingFrameClass ) Pin
Maximilien17-Aug-06 3:28
Maximilien17-Aug-06 3:28 
QuestionMemory Management Pin
tepz17-Aug-06 3:20
tepz17-Aug-06 3:20 
Hi,

I've just downloaded a delaunay triangulation program from internet and reading the source code. I stumble upon this code:

struct memorypool {
VOID **firstblock, **nowblock;
VOID *nextitem;
VOID *deaditemstack;
VOID **pathblock;
VOID *pathitem;
int alignbytes;
int itembytes;
int itemsperblock;
int itemsfirstblock;
long items, maxitems;
int unallocateditems;
int pathitemsleft;
};

it seems that the program is doing it's own memory management. I wonder why people want to do their own memory management, we have new/delete for C++ and malloc/free for C. What are the advantages/disadvantages of doing our own memory management?

Thanks.

regards,
tep
AnswerRe: Memory Management Pin
cmk17-Aug-06 3:40
cmk17-Aug-06 3:40 
AnswerRe: Memory Management Pin
benjymous17-Aug-06 5:16
benjymous17-Aug-06 5:16 
QuestionCombo Box problem Pin
u6ik17-Aug-06 2:54
u6ik17-Aug-06 2:54 
AnswerRe: Combo Box problem Pin
toxcct17-Aug-06 3:06
toxcct17-Aug-06 3:06 
GeneralRe: Combo Box problem Pin
Rage17-Aug-06 3:21
professionalRage17-Aug-06 3:21 
JokeRe: Combo Box problem Pin
toxcct17-Aug-06 3:24
toxcct17-Aug-06 3:24 
AnswerRe: Combo Box problem Pin
G_S17-Aug-06 3:34
G_S17-Aug-06 3:34 
AnswerRe: Combo Box problem Pin
Hamid_RT17-Aug-06 3:48
Hamid_RT17-Aug-06 3:48 
GeneralRe: Combo Box problem Pin
u6ik17-Aug-06 3:57
u6ik17-Aug-06 3:57 
AnswerRe: Combo Box problem Pin
David Crow17-Aug-06 4:29
David Crow17-Aug-06 4:29 
AnswerRe: Combo Box problem Pin
u6ik17-Aug-06 4:52
u6ik17-Aug-06 4:52 
QuestionRetreiving Hex data from edit box Pin
rajeev8217-Aug-06 2:27
rajeev8217-Aug-06 2:27 
AnswerRe: Retreiving Hex data from edit box Pin
Cedric Moonen17-Aug-06 2:33
Cedric Moonen17-Aug-06 2:33 
GeneralRe: Retreiving Hex data from edit box Pin
rajeev8217-Aug-06 2:42
rajeev8217-Aug-06 2:42 
QuestionLinking Error / outportb [modified] Pin
cahit2317-Aug-06 2:27
cahit2317-Aug-06 2:27 
AnswerRe: Problems in getting double as uint8 [modified] Pin
Steen Krogsgaard17-Aug-06 2:33
Steen Krogsgaard17-Aug-06 2:33 
AnswerRe: Problems in getting double as uint8 Pin
kakan17-Aug-06 2:55
professionalkakan17-Aug-06 2:55 

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.