Hello everyone, I haven't been stuck in quite some time, but I'm stuck. I have to read a list of names from a file, then sort them, then write the sorted names to a second file. I've been going to forum and reading articles on line but I don't understand how to read or write from a file. Do I make a text file in notepad first? As I've said in my previous posts I'm not looking for someone to do my work for me, but I'm looking for someone to guide me in the right direction. Thanks for the help in advance.

However you want to make the file you want to read. Notepad is fine for text files. You can also write a program that accepts info from the user and writes it to a file for another program to read.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.