Re: [Dev-C++] About running my program
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: <Mat...@bm...> - 2009-01-31 06:03:56
|
When a program returns it closes the console window. You need to add system("PAUSE"); before returning from main to hold it up. Matt ________________________________ From: William Tucay [mailto:wil...@ho...] Sent: 31 January 2009 03:28 To: dev...@li... Subject: [Dev-C++] About running my program Hello! I've been using your guys' compiler for like a week or two, but every time I ran my program, it appeared then suddenly disappears. I'm using Windows Vista on my computer and was thinking that it might be the problem, if it's not, please tell me. Thank you for any help. This email was sent from an email account of BMW (UK) Manufacturing Limited. BMW (UK) Manufacturing Limited is a company registered in England and Wales with company number 3950868; and has its offices at Ellesfield Avenue, Bracknell, Berkshire, RG12 8TA; registered in England and Wales. The contents of this e-mail are confidential and may be privileged and subject to internal monitoring. If you are not the addressee indicated in this message, you may not copy, forward, disclose, deliver or otherwise use it or any part of it in any form whatsoever. You should then kindly notify the sender by replying to this message and destroy it thereafter. Opinions, conclusions and other information in this message that do not relate to the official business of any BMW Group Company shall be understood as neither given nor endorsed by them. |