add inline print* funct in structs.h and delete structs.cpp