// print_struct.h // Multiple file compilation example // Print out the PEPPERMINT structure on one line // #ifndef PRINT_STRUCT_H #define PRINT_STRUCT_H #include "main.h" #include "struct.h" void print_struct(PEPPERMINT obj) { cout << obj.gum << " "; cout << obj.candy << " "; cout << "(" << obj.tea << ") "; cout << obj.name << " "; cout << obj.age; cout << endl; } #endif