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