View Single Post
Old Mar 10th, 2005, 5:16 PM   #2
brkstf
Programmer
 
brkstf's Avatar
 
Join Date: Feb 2005
Posts: 89
Rep Power: 4 brkstf is on a distinguished road
don't know exactly what a .lst file is, but it sounds like you want to take data from a dbase dump file and use it for something.

get data line by line by using a while loop on an IFSTREAM checking for the return character. then, split each line based on the delimiter, which is normally a comma or tab character. after that, you're on your own for how to re-cast the text as data items, etc. it's really not that hard.

also, don't use "void" unless you really mean it. this function should return at least a success/fail.
brkstf is offline   Reply With Quote