Create comp.cpp