A Simple C++ Example

example.cpp The main routine.
func.cpp A function called in example.cpp.
Makefile Makefile for the example.

To try this example, save the files in a directory, and run the commands

 $ make
 $ ./example