#include #include using namespace std; typedef unsigned char byte; typedef signed char sbyte; struct observation { short int year; byte month, day; short int mint, avgt, maxt; sbyte snow, rain; byte wind; }; int main() { if (sizeof(observation) != 23) { cerr << "Look out! sizeof(observation) is " << sizeof(observation) << ", not 13\n"; exit(1); } cout << "OK so far\n"; }