第四十八讲 容器和算法2(课件+源代码)
《C++快速入门》048 - 课件+典型例题源代码本讲教学视频下载地址:容器和算法2 -《C++快速入门》048
附件包含:课件+典型例题源代码
注:VIP会员享有免费下载本站所有资源的特权!
友情提示:通过购买鱼C光盘(具体内容)赞助鱼C工作室均可加入VIP会员^_^
真是好贴啊…… 教程视频在哪里下啊 不好意思,刚刚眼睛一花,没看到 感恩无私的分享与奉献 :) 不错不错长见识了真是难得给力的帖子啊。 真是难得给力的帖子啊。 感恩无私的分享与奉献 :)强烈支持楼主ing…… 请问,容器的相关的视频还有吗
想要视频的可以找我 #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
int main()
{
std::vector<std::string> names;
names.push_back("Larry");
names.push_back("Rola");
names.push_back("DingDing");
names.push_back("Joyjoy");
names.push_back("Michael");
names.push_back("Lucy");
names.push_back("Lilei");
std::sort(names.begin(), names.end());
std::vector<std::string>::iterator iter = names.begin();
while( iter != names.end() )
{
std::cout << *iter << "\n";
++iter;
}
return 0;
}
坚持到最后,不容易呀,留字纪念!!!~~
页:
[1]