lastname Taylor marie denise
james wilis surname thomas
Stone Rock lastname Brown
surname lea high lee
stephens lastname reynolds
lastname mack russell
surname Lewis Michelle Tee
john mark surname marshall
lastname Moto ahsey
o e lastname vey
Twosee or surname knocksee
lastnames.txt
Hello all. I am working on a project where I am to read in the list of names in a text file and put them into an array. I am also supposed to sort the list of names by last name first. The list of names prints out in the console, but then something causes the program to terminate unexpectedly. The code is not complete by any means, I just wanted to see why it was terminating the way it is just from reading in the text file and putting it into the array. Any suggestions?