Hi,
I'm trying to figure out how to make an alert come up in Mac, the kind that go up when something goes wrong (e.g. Unexpectedly quit errers, ect.). Please help me.
Thanks,
Stephen :)
Printable View
Hi,
I'm trying to figure out how to make an alert come up in Mac, the kind that go up when something goes wrong (e.g. Unexpectedly quit errers, ect.). Please help me.
Thanks,
Stephen :)
Is something like this what you want?
-PreludeCode:#include <stdio.h>
#include <stdlib.h>
.
.
.
if ( /* something is wrong */ ) {
fputs ( "Error message\n", stderr );
exit ( EXIT_FAILURE );
}