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