Posted by Stier, Robert on 1999-04-19
Shrapnel Wrote: I'm writing a program in C++. I want it to read records from a file and print them in order of part number or alphabetical order (the user's choice). My question is, what's the simplest way to manipulate strings into alphabetical order when they come from a data file? Thank you. Bubble Sort it into a work file, Print the work file, Delete the work file.
Previous post | Next post | Timeline | Home