0_0_9173588_24626.cpp: In function `void MEX(int)': 0_0_9173588_24626.cpp:20: error: `MAX' undeclared (first use this function) 0_0_9173588_24626.cpp:20: error: (Each undeclared identifier is reported only once for each function it appears in.)