Jump to content

C++: Difference between revisions

61 bytes added ,  20 May 2022
Line 519: Line 519:
[https://en.cppreference.com/w/cpp/container/queue Reference]<br>
[https://en.cppreference.com/w/cpp/container/queue Reference]<br>
<syntaxhighlight lang="c++">
<syntaxhighlight lang="c++">
std::queue<int> my_queue;


my_queue.push(a);
my_queue.pop(a);
</syntaxhighlight>
</syntaxhighlight>