Data “member not declared in this scope”
问题 I'm trying to create a vector which will store objects. I have added to the header file of the class as a private data member. I am trying to initialize this vector as being empty (so that I can add objects to it later on in the program) but when I compile this program to test, this error is returned: ...error: '_bookingVector' was not declared in this scope| I think the problem is with my initialization list on my default constructor(_bookingVector is obviously the vector): Schedule: