delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/21/15:14:26

X-WM-Posted-At: MailAndNews.com; Tue, 21 Aug 01 14:45:00 -0400
X-WebMail-UserID: Ramiman12
Date: Tue, 21 Aug 2001 14:45:00 -0400
Sender: Ramy Elmeligy <Ramiman12 AT MailAndNews DOT com>
From: Ramy Elmeligy <Ramiman12 AT MailAndNews DOT com>
To: djgpp AT delorie DOT com
X-EXP32-SerialNo: 50000000
Subject: exit( ) versus return 0; and abort
Message-ID: <3B88F7B3@MailAndNews.com>
Mime-Version: 1.0
X-Mailer: InterChange (Hydra) SMTP v3.61.08
Reply-To: djgpp AT delorie DOT com

What is the difference, pros, and cons between using exit( ), return 0; and 
abort( ) to exit your program? I have found these three refrenced in the book 
i am using, but there is no comprehensive explanation.

------------------------------------------------------------
 Get your FREE web-based e-mail and newsgroup access at:
                http://MailAndNews.com

 Create a new mailbox, or access your existing IMAP4 or
 POP3 mailbox from anywhere with just a web browser.
------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019