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