AeErr.c++ 273 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 // // AeErr.c++ // #include <iostream.h> #include <stdlib.h> #include "AeErr.h" void GlobalReportError (AeErr err) { switch (err) { case kAeLowMemErr: cout << "error: ie: out of memory, will exit\n"; cout.flush(); exit(-1); break; } }