1. Using a loop and push_back() function: We will create an array of size n and an empty vector. · 2. Using Range-based Constructor: · 3. Using C++ STL(Standard ...
確定! 回上一頁