/* sample.h */ #ifndef sample_H #define SAMPLE_H class Sample { public: int question () { return 42; } }; #endif // SAMPLE_H