I have a lab where I read in a bunch of cities from a text file, sort them alphabetically in a linked list, then save the list as a new text file. I understand the linked list part and the sorting but how would I save to a new text file??
Any help is appreciated.