5,321
edits
(→Main) |
|||
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> | ||