im still confuse in RPN will i use insert at bottom of stack or front and then reverse it?
cause my project say's that insert at the bottom of the stack..somebody help me pls
ilovephil 0 Light Poster
Recommended Answers
Jump to PostRPN uses a Last In First Out (LIFO) stack. That is, the last variable pushed on the stack is the first variable popped off the stack.
For example, the following expression:
5 4 3 + *
Assuming our stack is initially empty. The first item is an …
All 3 Replies
BobS0327 24 Junior Poster in Training
ilovephil 0 Light Poster
BobS0327 24 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.