⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 containers.html

📁 ssd5 数据结构的课件
💻 HTML
字号:
<!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++ Containers</title>  </head>  <body bgcolor="#ffffff">    <table width="100%" bgcolor="#eeeeff">      <tr>        <td><a href="index.html">cppreference.com</a> -&gt; Containers</td>      </tr>    </table>    <h1>C++ Containers</h1>    The C++ Containers (vectors, lists, etc.) are generic vessels capable of holding many different types of    data. For example, the following statement creates a <a href="cppvector_details.html">vector</a> of    integers: <pre>vector&lt;int&gt; v;</pre>    Containers can hold standard objects (like the <strong>int</strong> in the above example) as well as    custom objects, as long as the objects in the container meet a few requirements:     <ul>      <li>The object must have a default constructor,</li>      <li>an accessible destructor, and</li>      <li>an accessible assignment operator.</li>    </ul>    When describing the functions associated with these various containers, this website defines the word    <strong>TYPE</strong> to be the object type that the container holds. For example, in the above    statement, <strong>TYPE</strong> would be <strong>int</strong>.  </body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -