0_0_2876340_2443.cpp: In function `int main()': 0_0_2876340_2443.cpp:10: error: `year' undeclared (first use this function) 0_0_2876340_2443.cpp:10: error: (Each undeclared identifier is reported only once for each function it appears in.)