📄 4-8.cpp
字号:
#include<iostream>
#include<vector>
using namespace std;
int main()
{
vector<double> store;
double x;
store.clear();
while(cin>>x)
store.push_back(x);
cin.clear();
char a; //used to suck the worry input
cin>>a;
int n;
cout<<"to see which number__";
cin>>n;
cout<<"No.n number is: "<<store.begin()[n]<<endl;;
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -