Date: Wed, 22 Aug 2001 09:16:51 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Ramy Elmeligy Message-Id: <2950-Wed22Aug2001091650+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <3B8B44A3@MailAndNews.com> (message from Ramy Elmeligy on Tue, 21 Aug 2001 18:08:33 -0400) Subject: Re: BREAK statement aint workin References: <3B8B44A3 AT MailAndNews DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Tue, 21 Aug 2001 18:08:33 -0400 > From: Ramy Elmeligy > > Here's a code snippet, taken from Ivor Horton's Beginning C++. It involves > BREAKing a loop, after a certain number of invalid values are input. > After i have compiled, when i try to run the program, i get a message saying > BREAK is off and then it goes back to the DOS prompt. Whats the problem?? It sounds like you are invoking the source instead of the compiled program. What exactly did you do to run the program?