Index: [thread] [date] [subject] [author]
  From: Robert C. Duvall <rcd@cs.duke.edu>
  To  : 
  Date: 02 Feb 1999 20:41:59 -0500

Re: Exit command?

> I don't know if I am using this right, but  in one of my subclasses, I
> want to have an exit line that is called if the user enters something
> inappropriate.  Can I do this so that the whole program exits from a
> class, not from the main function?  And if so, what is the proper syntax
> for this and what do I need to include to use it.  I'm remembering
> seeing something to the effect of exit(1) or something like taht but I
> don't know where, when, or how to use it.

Index: [thread] [date] [subject] [author]