add cpp h/cpp base and printf log command