Message-ID: <3B83C671.8010302@operamail.com> From: Sahab Yazdani Organization: PheonixSoft Interactive User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.3+) Gecko/20010815 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: BREAK statement aint workin References: <3B8B44A3 AT MailAndNews DOT com> <2950-Wed22Aug2001091650+0300-eliz AT is DOT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cache-Post-Path: www.vif.com!unknown AT ip216-239-69-46 DOT vif DOT net X-Cache: nntpcache 2.4.0b4 (see http://www.nntpcache.org/) Lines: 27 NNTP-Posting-Date: Wed, 22 Aug 2001 09:49:53 CDT X-Trace: sv3-zynmIFcUsO3UoMtj1UPlOarV2/Xp7y/pSY5Q4gIpK7WjsctMVnyRW7wD3IJSXKNZkrP46BTezcJuIzr!vdQ3aV0JyTfmxy70Yxm6//w/s9EIRMCaRIRYETjBYDVsoVEj3rX3oOxOG1SgK3w= X-Complaints-To: abuse AT GigaNews DOT Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Wed, 22 Aug 2001 14:49:53 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: >>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? > I believe that DOS has a command called BREAK, so if you compiled your program to have the name BREAK.EXE, then the dos command gets invoked instead. to remedy this either rename your program, or run it using the command line ".\break.exe" (sans quotes). choi. -- ********************************************************* * Sahab Yazdani * "Reality is irrelevent, perception is * * Thornhill S.S * everything." - Zeddicus Zu'l Zorander * ********************************************************* * http://pheonixsoft.virtualave.net/ * *********************************************************