The following are the build commands used to demonstrate compiling C++ code examples. These lines should be executed on the Linux shell with the GNU Compiler Collection (GCC) installed.
g++ -o ex03p1 ex03p1.cpp
g++ -o ex03p2 ex03p2.cpp
./ex03p1 -1 0 1
./ex03p2 -1 0 1
./ex03p2 2 4 8 10 3.141592563589