io_samp
The io_samp
sample program demonstrates how to create an input and an output stream by providing a simple wrapper around the ANSI C interface fOpen()
, fRead()
, fSeek()
, fTell()
, and fClose()
. It converts a source document into a single, largely unformatted HTML file.
To run io_samp
, type the following at the command line:
io_samp inputfile outputfile
where:
inputfile
is the full path and file name of the source document.
outputfile
is the full path and file name of the HTML output file.