c++ array
1644 ワード
array
0 test11 test2234
#include
#include <string>
#include
using namespace std;
int main()
{
array<string, 5> coll = { "test1","test2" };
for (int k=0;kk)
{
cout << k<<" " << coll[k] << endl;
}
system("pause");
return 0;
}
0 test11 test2234