Coding standards for C/C++ or any language is required in order to
make the programs more readable/understandable by programmers. There are
C/C++ beautifiers (formating tools) to accomplish this goal.
Formatted (beautified) code improves
the productivity of programmers by 2 times!!
On Linux/Unixes there is a command called "indent" and "cb"
. Refer to 'man indent' and 'man cb'. Note that indent and
cb work for only "C" programs. For "C++" programs use
"bcpp".
Important NOTE:To compile bcpp under unix, unpack bcpp.tar.gz and
you MUST change directory to "code" and give a make. Do not change
to "unix" directory and give a make. That will give lots of errors.
Download the beautifier program from one of the following