That has nothing to do with .CPP or .H files; they do not have equivalents in Basic where the source is stored in a single file.
And the C++ code for your basic is trivial:
#include <iostream>
using namespace std;
#define HEAD 666;
int main()
{
int h = HEAD;
h = h + 1;
cout << h;
return 0;
}