Google
 
Webcprogramming.com




An Affiliate of AIHorizon




abort()

Prototype: void abort(void);
Header File: stdlib.h (C) or cstdlib (C++)
Explanation: Similar to exit, it will return an exit code indicating an abnormal program exit to the operating system and quit the program.



Example:
//Example aborts the program
#include <cstdlib>
int main()
{
  abort();
}
Other Functions

-----
Interested in advertising with us?
Please read our privacy policy.
Copyright © 1997-2005 Cprogramming.com. All rights reserved.

Geodesy Designs