How do I make a telephone directory management system using two?
Better solution is use struct. Struct Record { std::string first_name; std::string last_name; std::string address; std::string telephone; }; You can customize it according to you. Then make an array of Record. std::vector records;