lst-0018-godb.cpp
//#(compile) c++; compiler:g132; options:-O3 -std=c++23; libs:-
// https://godbolt.org/z/T9jsEoMj4
#include <vector> // You need this header
int main() {
std::vector<int> squares{}; // initialize empty
for(int idx = 0; idx<100; ++idx) {
squares.push_back(idx*idx); // append an element
}
}