how would i pass the member vector eEntries into the Add,Edit, and Delete... member functions?
what i want to do is make a vector of phonebook entries... and then be able to add an entry onto the vector...delete an entry from anywhere in the vector... or edit any entry in the vector...
Code://// Structures //// class Entry { public: void Add(); void Delete(); void Edit(); void Display(fstream *fFile); void Write(fstream *fFile); protected: int ordernum; string name; string cnumber; string hnumber; string address; vector<Entry> eEntries; };



LinkBack URL
About LinkBacks



