We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


Emits a specified runtime error message and then exits your application with error code 255.

void _amsg_exit (
   int rterrnum


The identification number of a system-defined runtime error message.

This function emits the runtime error message to stderr for console applications, or displays the message in a message box for Windows applications. In debug mode, you can choose to invoke the debugger before exiting.


Required header