TemplateMethodByDesignPatternCpp Template method sample program (C++) by design pattern Class diagram (UML) Usage Compile $ g++ -std=c++11 main.cpp greet_class.cpp hello_class.cpp goodbye_class.cpp -o main Run executable file $ ./main ******** *Hello!* ******** ----------- |Goodbye!!| -----------