- 3
- 0
- 约1.32万字
- 约 41页
- 2018-08-13 发布于湖北
- 举报
讲师洪安
find 範例 * #includeiostream #includelist #includealgorithm using namespace std; int main( ) { listint L; listint::iterator it; L.push_back(10) ; L.push_back(20); L.push_back(30); it = find(L.begin( ), L.end( ), 30); if ( it == L.end( )) cout data not found\n; else cout *it endl; return 0; } #includeiostream #includealgorithm using namespace std; int main( ) { int l[7] = { 1, 3, 2, 5, 1, 2, 1 }; int *it ; it = find(l[0], l[7], 5); if ( it == l+7) cout data not found\n ; else cout *it endl; retu
您可能关注的文档
最近下载
- 初中化学必背知识总结梳理.pdf VIP
- 通信原理考试题+答案.docx VIP
- 江苏省建筑施工事故隐患辨识图集(起重机械及吊)2026.pdf VIP
- 青岛市小学小升初数学试卷及答案下载.docx VIP
- 2025年宁波市奉化区交投集团招聘试题及答案.docx VIP
- GB 33654-2017_建筑石膏单位产品能源消耗限额.pdf
- 220千伏输变电线路跨越110kV线路带电封网跨越施工方案.docx VIP
- 牛奶厂工艺参数优化管理手册 (标准版).docx VIP
- 江苏省建筑施工事故隐患辨识图集(高处作业、有限空间、动火作业等)2026.pdf VIP
- 2026年食品安全抽检监测技能大比武理论考试题库(含答案).docx
原创力文档

文档评论(0)