C++声明数组

###C++学习
C++中创建数组的方式有三种方式

int array[4] = {1,2,3,4};
vector<int> array2(4); vector.at(1) = 10;
array<int,4> array3 = {1,2,3,4};
0 0 vote
Article Rating
Subscribe
提醒
guest
0 评论
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x