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

📄 stl-find.cc.svn-base

📁 QT方面的开发
💻 SVN-BASE
字号:
// Filename: STL-find.cc// Use of the find function.#include <iostream>#include <algorithm>#include <string>using namespace std;int main() {    string words[5] = {                          "my", "hop", "mop", "hope",                          "cope"                      };    string*   where;    where = find(words, words + 5, "hop");    cout << *++where << endl;                       //mop    sort(words, words + 5);    where = find(words, words + 5, "hop");    cout << *++where << endl;                       //hope}/*outOOP> gpp STL-find.ccOOP> a.outmophopeOOP>*/

⌨️ 快捷键说明

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