modify template.cpp
add two file