cppstack.html
来自「ssd5 数据结构的课件」· HTML 代码 · 共 44 行
HTML
44 行
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <meta name="generator" content="HTML Tidy for Linux/x86 (vers 1st October 2002), see www.w3.org"> <title>C++ Stacks</title> </head> <body bgcolor="#ffffff"> <table width="100%" bgcolor="#eeeeff"> <tr> <td><a href="index.html">cppreference.com</a> -> C++ Stacks</td> </tr> </table> <h3>C++ Stacks</h3> <p>The C++ Stack is a container adapter that gives the programmer the functionality of a stack -- specifically, a FILO (first-in, last-out) data structure.</p> <table> <tr bgcolor="#eeeeff"> <td><a href="cppstack_details.html#Operators">Operators</a></td> <td>compare and assign stacks</td> </tr> <tr> <td><a href="cppstack_details.html#empty">empty()</a></td> <td>true if the stack is empty</td> </tr> <tr bgcolor="#eeeeff"> <td><a href="cppstack_details.html#pop">pop()</a></td> <td>removes the top element</td> </tr> <tr> <td><a href="cppstack_details.html#push">push()</a></td> <td>adds an element to the top</td> </tr> <tr bgcolor="#eeeeff"> <td><a href="cppstack_details.html#size">size()</a></td> <td>returns the number of elements in the stack</td> </tr> <tr> <td><a href="cppstack_details.html#top">top()</a></td> <td>returns the top element of the stack</td> </tr> </table> </body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?