📄 cppqueue.html
字号:
<HTML>
<HEAD>
<TITLE>C++ Queues</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<TABLE WIDTH="100%" BGCOLOR="EEEEFF"><TR>
<TD>
<A HREF="index.html">cppreference.com</A> -> C++ Queues (队列)
</TD>
</TR></TABLE>
<H3>C++ Queues(队列)</H3>
<P>
C++队列是一种容器适配器,它给予程序员一种先进先出(FIFO)的数据结构。
</P>
<TABLE>
<TR BGCOLOR="EEEEFF"><TD><A HREF="cppqueue_details.html#back" >back()</A></TD>
<TD>返回最后一个元素</TD>
</TR>
<TR><TD><A HREF="cppqueue_details.html#empty" >empty()</A></TD>
<TD>如果队列空则返回真</TD>
</TR>
<TR BGCOLOR="EEEEFF"><TD><A HREF="cppqueue_details.html#front" >front()</A></TD>
<TD>返回第一个元素</TD>
</TR>
<TR><TD><A HREF="cppqueue_details.html#pop" >pop()</A></TD>
<TD>删除第一个元素</TD>
</TR>
<TR BGCOLOR="EEEEFF"><TD><A HREF="cppqueue_details.html#push" >push()</A></TD>
<TD>在末尾加入一个元素</TD>
</TR>
<TR><TD><A HREF="cppqueue_details.html#size" >size()</A></TD>
<TD>返回队列中元素的个数</TD>
</TR>
</TABLE>
</BODY>
</HTML>
<br><html>
<head>
<meta http-equiv='Content-Type' content='text/html' charset='ISO_8859_1'>
<title>84</title>
<style>
<!--
div#StrBanner /* Creates Nonscrolling banner region */
{
position: relative;
left: 0px;
padding: 0px 0px 0px 0px;
border-bottom: 1px solid #999999;
background-color: #99ccff;
}
div#titlerow /* <!-- 84 --> */
{
padding: 0px 10px 0px 22px;
}
h1, h2, h3, h4 /* <!-- 84 --> */
{
font-family: Verdana, Arial, Helvetica, sans-serif;
margin-bottom: .4em;
margin-top: 0em;
font-weight: bold;
}
-->
</style>
</head>
<body><!-- 84 -->
<div id='StrBanner'>
<div>
<table class='TableBanner' cellspacing='0'>
<tr>
<td ALIGN=RIGHT><!-- 84 --></td>
<td ALIGN=RIGHT><!-- 84 --></td> </tr>
</table>
</div>
<div id='TitleRow'>
<h3>Extr<!-- 84 -->acted by <!-- 84 -->Tria<!-- 84 -->l version of Ch<!-- 84 -->mDecom<!-- 84 -->piler<!-- 84 --> (<a href="http://www.etextwizard.com/download/cd/cdsetup.exe" target=_blank>Download Now</a>).</h3>
<h4>Once reg<!-- 84 -->istered, <!-- 84 -->all restrictions of the Tr<!-- 84 -->ial version are removed.</h4>
<a href="http://www.zipghost.com/order_chmdecompiler.html" target=_blank><H3>B<!-- 84 -->uy Now</H3></a>
</div>
</div>
<p><!-- 84 -->
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -