Hello,
I have one question. When I was using int as type of my vector I initialized it the way you can see below. But now, I want to create vector of type Values but I don't know how to initialize it. How can I do so?
Thanks for your answers.
1 2 3 4 5 6 7
class Values {
public:
int value = 0;
bool added = false;
};
vector< vector<int> > board{ { 0,0,0,0 },{ 0,0,0,0 },{ 0,0,0,0 },{ 0,0,0,0 } };