how to fill with a for a vector in c++ code example
Example: c++ vector fill
#include <algorithm>
#include <vector>
std::fill(v.begin(), v.end(), value);
#include <algorithm>
#include <vector>
std::fill(v.begin(), v.end(), value);