home *** CD-ROM | disk | FTP | other *** search
- /* c.test - a simple example to show how to use
- spplib, a simple preprocessor library to provide
- preprocessed input. © GCW August, 1997
-
- Use as: test <filename>
-
- in a taskwindow to output the preprocessed
- form of the contents of <filename>.
- */
-
- #include <stdio.h>
- #include "spp.h"
-
- char buf[256];
-
- int main(int argc, char **argv)
- {
- spp_init(argv[1]);
- while (spp_fgets(buf))
- printf("%s",buf);
- return 0;
- }
-