Learn C++11 one
// Learn C++ 11
//P1:Initializer List
int arr[4] = { 3, 2, 4, 5 };
vector<int> v;
v.push_back(3);
v.push_back(2);
v.push_back(4);
v.push_back(5);
//C++ 11 extended the support
vector<int&g...
翻译
2018-10-10 22:32:59 ·
146 阅读 ·
0 评论