|
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.
|