ok sorry for that....
in class defnition
Code:
class object
{
vector<bool> B;
void someoperation();
}
void object::someoperation()
{
// operations done.....
int size = somevector.size(); // this step determines size of the bool vector
B(size,false);
}
All i try to do is create a vector variable of type bool to store a string of false values... I dont know the size of the vector. henc ei declare it in this function
The code is too large to post here. I have esxplained to you to my max level of the problem.
How would you declare a vector<bool> variable in a class. and assign its values later in another function of the same class?
thats my doubt to be perfect....
thanks
regards
KR