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