Try everything in the book C++ DESIGN PATTERNS AND DERIVATIVES PRICING 2nd
g++ SimpleMC.cpp SimpleMCMain2.cpp PayOff1.cpp ../Ch1/Random1.cpp -I ./includes -I ../Ch1/includes
g++ SimpleMC2.cpp SimpleMCMain3.cpp PayOff2.cpp ../Ch1/Random1.cpp -I ./includes -I ../Ch1/includes
g++ SimpleMC2.cpp SimpleMCMain5.cpp DoubleDigital.cpp PayOff2.cpp ../Ch1/Random1.cpp -I ./includes -I ../Ch1/includes
g++ SimpleMC3.cpp Vanilla1.cpp VanillaMain1.cpp DoubleDigital.cpp PayOff2.cpp ../Ch1/Random1.cpp -I ./includes -I ../Ch1/includes
g++ SimpleMC4.cpp Vanilla2.cpp VanillaMain2.cpp PayOff3.cpp ../Ch1/Random1.cpp -I ./includes -I ../Ch1/includes
g++ SimpleMC5.cpp Vanilla3.cpp VanillaMain3.cpp PayOff3.cpp PayOffBridge.cpp ../Ch1/Random1.cpp -I ./includes -I ../Ch1/includes
g++ SimpleMC6.cpp Vanilla3.cpp Parameters.cpp VanillaMain4.cpp PayOff3.cpp PayOffBridge.cpp ../Ch1/Random1.cpp -I ./includes -I ../Ch1/includes
DoubleDigital.cpp
g++ StatsMain2.cpp SimpleMC7.cpp MCStatistics.cpp ConvergenceTable.cpp ../Ch4/Vanilla3.cpp ../Ch4/Parameters.cpp ../Ch4/PayOff3.cpp ../Ch4/PayOffBridge.cpp ../Ch1/Random1.cpp -I ./includes -I ../Ch1/includes -I ../Ch4/includes