Not necessarily, stack is Last In First Out. You can use std::list, and use the reverse interators or can use the member function reverse which reverse the order of the elements.Originally Posted by Nasty2
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 17
Thread: wrong orderThreaded View
|
Click Here to Expand Forum to Full Width |