include header file cpp code example Example: what is a header in c++ int x; // declaration x = 42; // use x