reading code.hpp and code.cpp