1. Engineering
  2. Computer Science
  3. in c write a simple program that reads in names...

Question: in c write a simple program that reads in names...

Question details

In C++, write a simple program that reads in names from a names.txt file, sorts them in ascending order by their last name and then displays them. The names in the file are displayed like:

Donald Duck

Minnie Mouse

Mickey Mouse

John Doe

Please don't use any strange libraries and keep the program as simple as possible.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution