Hi....
Stacks is as simply as this:
Last In First Out
just imagine you put 5 boxes, and you want to take 1 box, you must be
taking the top 1 right?
And if you want to implement it to C code, the easiest way is use an
array (but it's limited to it's length, you have to define the maximum
length of the stacks first). Create a counter to define current stack
position, and you want to take the stack, then the variable on that
counter position.

Or you can use the other way "Linked List" -> try google for it.
It looks like this:
stack1 -> stack2 -> stack3 -> stack4 -> end


good luck...

abhang_prashant wrote:
> how to implimente stacks

I never get this. It'll probably take lesser time to get the source code by
googling than waiting for a reply from an e-group.

-- 
Andreanes Yosef Vanderlee
Phone: +62817 139 308, +62815 915 2766
homepage: http://vanderlee.web.id
YM!: andre_flea
gtalk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
skype: andre_flea
friendster: http://friendster.com/vanderlee

Reply via email to