We recommend using Visual Studio 2017



The latest version of this topic can be found at _amsg_exit.

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.

RoutineRequired header