add c.cpp and c.h file