Answers for "create vector with fixed size c++"

C++
1

create vector with fixed size c++

std::vector<int> v(10);
v.size(); //returns 10
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language