第15周第一项目——阅读程序
来源:互联网 发布:fluent软件免费下载 编辑:程序博客网 时间:2024/05/22 12:06
/**Copyright(c) 2016.烟台大学计算机与控制工程学院*ALL rights reserved.*文件名称:main.cpp*作者:田志伟*完成日期:2016年6月16日*问题描述: 领会STL的用法*/#include<string>#include<set>#include<iterator>#include<iostream>using namespace std;int main(){ set<string>strset; strset.insert("cantaloupes"); strset.insert("grapes"); strset.insert("apple"); strset.insert("orange"); strset.insert("banana"); strset.insert("grapes"); \ copy(strset.begin(),strset.end(),ostream_iterator<string>(cout," ")); cout<<endl; return 0;}
程序运行:
0 0
- 第15周第一项目——阅读程序
- 第九周第一项目——阅读程序
- 第十二周第一项目——阅读程序
- 第15周项目2-阅读程序
- 第15周项目2.1 阅读程序
- 第15周 项目2 阅读程序
- 第15周项目2-阅读程序
- 第15周 项目2-阅读程序
- 第15周项目2-阅读程序
- 第16周项目——阅读程序3
- 第16周项目——阅读程序4
- 第16周项目——阅读程序5
- 第12周项目—阅读程序5
- 第十一周第一项目——又是程序阅读
- 第15周上机实践项目2——阅读程序(1)
- 第15周上机实践项目2——阅读程序(2)
- 第15周项目2(1)-阅读程序
- 第15周项目2(2)-阅读程序
- oracle 游标变量ref cursor详解
- Android 使用ORMLITE 自定义规则的排序
- 【合集】用Raspberry Pi(树莓派)打造各种服务器
- JAVA 带缓存的输入/输出流
- Vivado Implementation - ERROR: [Chipscope 16-119] Implementing debug core dbg_hub failed
- 第15周第一项目——阅读程序
- Android | 将内容分享到自己的app
- php中pdo数据库操作工具类
- Android基础知识总结
- 看完上千个交互设计神作后,我总结了这5个设计技巧,免费赠你
- 理解本真的REST架构风格
- LeetCode-171 Excel Sheet Column Number
- JPA联合主键并做从表外键
- SVN XXX.xcode xcodeprojcannot be opened because the project file cannot beparsed。