Suppose you had all in one file:
A typical header might look like this:
//declarations - go into headers
//implementations may go into a separate cpp file
An implementation file which needs to know about these functions (to implement or use them), includes the header
Each cpp file needs to be compiled and linked (easily achieved if they all belong to the project).