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