Dec 072017
This program takes as input a “C” source program file and formats it with the proper indents for each statement. Pretty Printer. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
CB.C | 13226 | 2823 | deflated |
CB.DOC | 1041 | 494 | deflated |
CB.EXE | 20708 | 12155 | deflated |
Download File CB.ZIP Here
Contents of the CB.DOC file
"C" Source Formatter 'Pretty Printer'
DESCRIPTION:
This program takes as input a "C" source program file and
formats it with the proper indents for each statement. The
original input file is renamed as a .BAK file, and the
formatted output is placed in a file with the same name as
the original input. A command line option allows the indent
level to be specified as from 1 to 10 spaces (default = 4).
INVOCATION:
CB inputfil [indent]
inputfil Input "C" source program. This file should
be a file that has compiled error free, as
the formatter is not smart enough to pick up
syntax errors. Default extention = .c
indent This is a number from 1 to 10 to specify the
number of spaces for each indent level. The
default spacing is 4.
HELP:
Typing CB with no file name displays a short help reminder.
DESCRIPTION:
This program takes as input a "C" source program file and
formats it with the proper indents for each statement. The
original input file is renamed as a .BAK file, and the
formatted output is placed in a file with the same name as
the original input. A command line option allows the indent
level to be specified as from 1 to 10 spaces (default = 4).
INVOCATION:
CB inputfil [indent]
inputfil Input "C" source program. This file should
be a file that has compiled error free, as
the formatter is not smart enough to pick up
syntax errors. Default extention = .c
indent This is a number from 1 to 10 to specify the
number of spaces for each indent level. The
default spacing is 4.
HELP:
Typing CB with no file name displays a short help reminder.
December 7, 2017
Add comments