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