Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 09 / README.md
blob: e8b4aa159b0db2492d0344adcccba9b065c8b26c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
**Пример**:
 ```c++
int main()
{
	quene<int> q;
	q.enqueue(3);
	q.enqueue(5);
	q.enqueue(10);

	cout << q.dequeue() << endl; //3
	cout << q.dequeue() << endl; //5
	cout << q.dequeue() << endl; //10

	cout << q.isEmpty() << endl; //1	
}
 ```