- Engineering
- Computer Science
- 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
