Does anyone have a link to a website where the stack is explained in kinda a childish way so it is easy to understand or a more advanced explanation in Dutch?
Does anyone have a link to a website where the stack is explained in kinda a childish way so it is easy to understand or a more advanced explanation in Dutch?
Since you didnt specify if you wanted to know more about the stack datastructure or the hardware stack ill point you to wikipedia:
http://en.wikipedia.org/wiki/Stack_(data_structure)
Get an HP calculator
This but then simplified.
Understanding the Stack
The only thing you have to understand about the stack right now for learning C++ is this: The memory for a program is broken into two parts, the heap and the stack. The heap contains global and dynamically allocated (with new or malloc) data. The stack contains the data for currently executing functions, growing upward for each function called. When a function ends, it's data is removed from the stack, and the function which called it is now on top.
So you start with the data local to main on the stack. If you then call function foo(), foo goes onto the top of the stack. If bar() is called from foo(), bar then goes on to the stack. When bar() is finished, it is removed from the stack and control returns to foo(). When foo() is finished it comes off the stack and control returns to main().
Beyond that, don't worry about it too much.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
Simple English Wikipedia is wonderful.Does anyone have a link to a website where the stack is explained in kinda a childish way so it is easy to understand
Stack (data structure) - Simple English Wikipedia, the free encyclopedia
Or the dutch translation of wikipedia. That works too.or a more advanced explanation in Dutch?
Stack (informatica) - Wikipedia
Or Google translate.This but then simplified.
Understanding the Stack
http://translate.google.com/translat...s%2Fstack.html
Last edited by bernt; 05-19-2010 at 09:36 PM.
Consider this post signed
Well, let me translate the first two sentences back to English from that.
Well, no, that makes sense.Meeting languages offer support to give food to sentences conditionally. If you add, and jump / tree branch (the assemblage of "goto" reports), then you can oustrous cycle [that is, the period nonhuman mammals are sexually aroused].