next up previous contents
Next: Bourne shell Up: Draw PAD figure directly Previous: C




To draw a PAD figure directly from C++ program, type in:

% pad2ps -c++ foo.C > foo.ps

You can omit the option -c++  if the suffix of the input file is .C, .cc, or .cpp.

A parser for C++ program is c2pad . To execute this parser directly, type in:

% mkpad -c++ foo.C > foo.pad

In this case you cannot omit -c++ option.

The points you should be aware of when translating C++ programs are the same as those of C, so refer to section 4.1.

In case of C++, class definitions will be also ignored. By default, inline functions defined in a class definition will also be ignored. To override this feature, set -inline  option. In this case the class name will be attached to the name of the inline function.


Go back to pad2ps - automatic PAD drawer.
Go back to Seiichi Yoshida's Home Page.
Copyright(C) Seiichi Yoshida (comet@aerith.net). All rights reserved.
Sun Nov 10 01:36:04 JST 1996