📄 settest.cpp
字号:
// setTest.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <set>
#include <string>
#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
set<string> strSet;
set<string>::iterator it;
strSet.insert("Orange");
strSet.insert("Apple");
strSet.insert("Banana");
strSet.insert("AHello");
strSet.insert("AHello");
for (it=strSet.begin();it!=strSet.end();it++)
{
cout<<*it<<endl;
}
printf("Hello World!\n");
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -