Index:
[thread]
[date]
[subject]
[author]
From: Angelique Coviello <amc1@acpub.duke.edu>
To :
Date: Tue, 02 Feb 1999 19:37:11 -0500
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.
Thanks
Angel
Index:
[thread]
[date]
[subject]
[author]