用vector;不过满麻烦的。
vector<int>v1;
v1.push_back( 0 );
v1.push_back( 5 );
v1.push_back( 1 );
v1.push_back( 2 );
v1.push_back( 4 );
v1.push_back( 6 );
cout<<v1[0]<<endl;
cout<<v1[1]<<endl;
同样也可以用数组;
Go confidently in the directions of your dreams,live the life you have imagined!Just do it!
It is no use learning without thinking!