Re: Heap? what does it mean?
From: Karl Heinz Buchegger (kbuchegg_at_gascad.at)
Date: 07/09/04
- Next message: SaltPeter: "Re: Heap? what does it mean?"
- Previous message: Ulrich Eckhardt: "Re: IO-Operator overloading question"
- In reply to: Snake: "Heap? what does it mean?"
- Next in thread: Francis Glassborow: "Re: Heap? what does it mean?"
- Reply: Francis Glassborow: "Re: Heap? what does it mean?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 09 Jul 2004 09:51:55 +0200
Snake wrote:
>
> Hello experts,
> I have a quick question about a thing that I am not sure I fully I
> understand. What does a heap mean?I mena when it says, the memory location
> was allocated on the heap, then what does that mean?
That is was allocated on the free store.
That means: Your program has an area, the free store, which is just
memory reserved for nothing special. Whenever you need some memory,
you just ask the runtime system for it. The runtime system will search
for a nice place in that free store, mark it as reserved and return
a pointer to it to your program.
-- Karl Heinz Buchegger kbuchegg@gascad.at
- Next message: SaltPeter: "Re: Heap? what does it mean?"
- Previous message: Ulrich Eckhardt: "Re: IO-Operator overloading question"
- In reply to: Snake: "Heap? what does it mean?"
- Next in thread: Francis Glassborow: "Re: Heap? what does it mean?"
- Reply: Francis Glassborow: "Re: Heap? what does it mean?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|