if I have a class...
class Note {
private:
string step;
string octave;
string duration;
}:
with the appropriate access functions, and then create a class
class Measure {
private:
vector<class Note> Measurenum;
};
What is the best method to access the data (presumably step, octave, and duration) in each instance of the vector Measurenum. Note that the vector must be private for this assignment.