View Single Post
  #1 (permalink)  
Old 03-25-2008, 03:18 AM
szimme101 szimme101 is offline
Member
 
Join Date: Mar 2008
Posts: 4
szimme101 is on a distinguished road
Traversing through a stack of objects, and puttin them info in an array
What is a good way to go through a stack of objects?

I have to compare each object of the stack, to a object I have predifined and then put that object into an array. Stopping this "process" when I find a match.

Assuming there will be a match and that the stack is not empty what would you recommend I do?


Thanks,

SZ
Reply With Quote
Sponsored Links