C++ Primer(第五版)练习3.32

来源:互联网 发布:网络人远程控制 编辑:程序博客网 时间:2024/06/05 09:36
#include <iostream>#include <string>#include <vector>using namespace std;int main() {int a[10] = {};int copy[10] = {};for (int i = 0; i < 10; i++)a[i] = i;for (int i = 0; i < 10; i++)copy[i] = a[i];for (auto c : copy)cout << c << " ";cout << endl;system("pause");return 0;}

0 0
原创粉丝点击