how to put a class in a .h file c++

C++
#include "Class.h"
Source

Also in C++: