#include "classtest.h" extern "C" int classtest() { ClassTest c; c.test1(); c.test2(); return 1; }
Example 1: Test program with no
main() that is run by TestDriver.C and RunDynamicTests.C.
Back to Article
Copyright © 1999, Dr. Dobb's Journal