View Single Post
Old Mar 31st, 2008, 10:00 PM   #3
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 770
Rep Power: 3 Jimbo is on a distinguished road
Re: C++ file sorting

Like Chris said, you basically need to decide on a delimiting character to separate your columns. You could use a comma, which is fairly common. This of course means that none of your values can contain a comma (or whatever character you choose) unless you provide another marker to escape that value, which then makes the marker invalid unless you have a sequence to add it (think of how escaping with \ works; you can probably just use that, really).
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote