- 博客(2)
- 收藏
- 关注
翻译 c++中 的向量vector
#include#include#include#include //使用向量 ,就包含向量的头文件 #include#includeusing namespace std;int main(){ cout << "please enter your first name :" << endl; string name; cin >> name; cout << "H
2015-02-04 22:57:00 721
原创 C++中如何控制数位的输出
#include #include using namespace std;int main( void ){ const double value = 12.3456789; cout << " " << " " <<value << endl; // 默认以6精度,所以输出为 12.3457 cout << 0 << " " <<setprecision(
2015-02-03 22:38:20 2401
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人