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![]()
This is a discussion on alerts within the C Programming forums, part of the General Programming Boards category; Hi, I'm trying to figure out how to make an alert come up in Mac, the kind that go up ...
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 ); }
My best code is written with the delete key.