Contents of the CPPB.DOC file
Two utilities for C++ programmers are included in this package. These
1) A C++ Reformatter which will take a C++ source file and reformat it.
This includes putting in an appropriate indentation.
2) A Class Analyser. This will read a C++ source file and display the
hierarchy of classes as a tree.
[A Shareware C++ Reformatter 1.0 - Copyright 1989 Wessex Data Systems, Inc.]
This utility can be used to reformat C++ source files.
Format: cppb [- | filename] [-in] [-tn] [-b] [-x]
- is used when input is from standard input
-in is used to change the indentation value. It defaults to 4.
e.g. -i8 for indentation of 8 per block
-tn to insert tab characters. n is optional and represents character
positions represented by a single tab character. defaults to 8
-c do not indent comments starting in column 1
-l do not put new line before left brace (with -b option)
-b ignore current formatting - reformat completely
-x remove all formatting and comments
Output is to standard output. Output filename must NOT be the same as the
input filename. Always keep a backup copy of source files.
cppb source.cpp > source.new
This command will take the source c++ file source.cpp and create a formatted
copy with the name source.new.
The C++ Class Analyser 1.0
This reads a C++ source file and displays the classes as a tree.
It will read include files (not system files) to determine the classes.
An example C++ file is provided with the program as an example of possible
To run the example type the following command:
Designed to conform with release 1.2 of C++. Unauthorized Use, Copying or
Distribution is prohibited. Program may be distributed freely, provided
only nominal fee is charged. All commercial users should register use after a
trial period. To register use please send $25, or for an update disk $35.
Both programs are included in the single fee.
WESSEX DATA SYSTEMS SPECIFICALLY DISCLAIMS ANY WARRANTY, EITHER
EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR USE.
IN NO EVENT SHALL WESSEX DATA SYSTEMS BE LIABLE FOR ANY SPECIAL,
CONSEQUENTIAL, OR OTHER DAMAGES INCLUDING LOSS OF PROFIT ARISING OUT OF
THE USE OF THIS PROGRAM.
Wessex Data Systems, Inc., PO Box 94, Hazlet, NJ 07730