I'm trying to add 100 elements in a vector located inside a class, but I can't use a for loop because the vector is defined outside of a function. Is there any way for me to add the values without having to manually list them?
class Player
{
vector<bool> able; // set 10 values to 0
vector<bool> tertiary; // set 100 values to 0
void other_funcs()
{
//stuff
}
}