I have followed the official guide, using command prompt to compile codes separately, the output binary runs fine. But to put these codes together, I have written a header,