Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
stack « Queue Stack « C++
C++
Queue Stack
stack
1.
Push and pop an int stack
2.
Push and pop a vector stack
3.
Push and pop a stack of list
4.
Stack: size, pop and push
5.
Stack: size and push
6.
Stack: top, empty
7.
Modify the top element in a stack
8.
Pass stack to a function
9.
Stack of string and vector
: push(), pop(), empty(), top()