\CPP
helloworld_class.cpp
/* Josh Santomieri Santomieri Systems http://www.santsys.com 09/26/2002 */ #includeclass MyClass { public: void PrintHello(); }; void MyClass::PrintHello() { cout << "Hello World"; } int main(int argc, char *argv[]) { MyClass mc; mc.PrintHello(); return 0; }