tulab
05-18-2003, 12:53 PM
i would like to read a raw(unformatted) textfile and output the same in
a formatted textfile.
a formatted textfile.
file read writetulab 05-18-2003, 12:53 PM i would like to read a raw(unformatted) textfile and output the same in a formatted textfile. loquin 05-19-2003, 12:03 AM So, open two files simultaneously, one for input, one for output. Read a line from the input file into a string buffer, format the buffer any way you like, and write the buffer to the output file. Repeat the read/write until done. Then, close both files, & you're done. |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum