public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* is there any way for exit(1)
@ 2009-03-24 22:43 gfx art
       [not found] ` <C5EECDC2.39513%eljay@adobe.com>
  0 siblings, 1 reply; 3+ messages in thread
From: gfx art @ 2009-03-24 22:43 UTC (permalink / raw)
  To: gcc-help

Hello dear gcc staff

I am trying to use exit(1) to my book exercise to test it
but I can't use it the code will work if I deactivate it

if ( mySize == CAPACITY)
{
     cerr << "No space" << endl;
     exit(1); // I can't use this code when I compile it and I've
included cassert library
}

thank you very much

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-24 23:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-24 22:43 is there any way for exit(1) gfx art
     [not found] ` <C5EECDC2.39513%eljay@adobe.com>
2009-03-24 23:26   ` gfx art
2009-03-24 23:53     ` me22

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).