1 2 3 4 5 6 7 8 9 10
#ifndef THECLASS_H #define THECLASS_H class TheClass { void func(); }; void TheClass::func() {} #endif // THECLASS_H