954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Question (linked lists)

Hey guys. Just a question.
Is it possible to use a stack class and a link list class in the same program so for example if I decide to create a list (using the link list class) and then from this list take the odd numbers and put in a stack (using the stack class) then take the pair numbers from the same list and put them in a second stack?
Thanks :)

lmastex
Newbie Poster
17 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

of course you can.

Xeuron
Newbie Poster
6 posts since Dec 2008
Reputation Points: 10
Solved Threads: 3
 

>Hey guys. Just a question.
>Is it possible to [...]
The answer to any "Is it possible?" question is invariably "Yes!". Further, many of these questions can be answered with simple experimentation. So are you just lazy or what?

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

No, I am not lazy, I was just making sure, what if it "was not possible" :) ... thanks ;)

lmastex
Newbie Poster
17 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

Then you would of tried and then realized it wasn't possible or failed trying and asked for help and someone would of helped you out. Either way it would of been a learning experience even if it wasn't possible.

Chris

Freaky_Chris
Master Poster
702 posts since Apr 2008
Reputation Points: 325
Solved Threads: 118
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You