home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
-
- /*
- * File Template Expander - Example which prints expanded command line.
- * NOTE: This is only available for Microsoft C (not for Borland C).
- */
-
- void main(int argc, char *argv[]);
-
- void main(argc, argv)
- /****************************************************************************/
- /* This program just displays the expanded command line.
- /****************************************************************************/
- int argc;
- char *argv[];
- {
- int i;
-
- for(i=0; i < argc; i++)
- printf("%d\t\"%s\"\n", i, argv[i]);
-
- }
-