change main.cpp and add test2.c