Re: [Dev-C++] When debugging, how can I do?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <buh...@16...> - 2006-08-24 00:40:34
|
dev...@li... 写道: > Send Dev-cpp-users mailing list submissions to > dev...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > or, via email, send a message with subject or body 'help' to > dev...@li... > > You can reach the person managing the list at > dev...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dev-cpp-users digest..." > > > Today's Topics: > > 1. **Help Please** (can altýngöz) > 2. Re: *Help Please* (Austin Scholze) > 3. Re: *Help Please* (Per Westermark) > 4. When debugging, how can I do? (wmaple) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 23 Aug 2006 07:55:04 -0700 (PDT) > From: can "altýngöz" <can...@ya...> > Subject: [Dev-C++] **Help Please** > To: dev...@li... > Message-ID: <200...@we...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I am really sorry to disturb you.I would be really glad if you help me.It is a simple question indeed.I have installed Bloodshed Dev-C++ 4.9.9.2 in my computer. I will study to learn C programming language,but here is my problem: > > I can not see the result of my program.When I execute my program a console window will pop up,flash some text and disappear. > > I would be very thankful if u can help me. > Waiting for your reply,please reply back. > > Best regards > > > --------------------------------- > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1?/min. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://sourceforge.net/mailarchive/forum.php?forum=dev-cpp-users/attachments/20060823/f8e345a3/attachment.html > > ------------------------------ > > Message: 2 > Date: Wed, 23 Aug 2006 11:06:41 -0400 > From: "Austin Scholze" <Aus...@co...> > Subject: Re: [Dev-C++] *Help Please* > To: <Dev...@li...> > Message-ID: <002001c6c6c5$c0038170$6401a8c0@AUSTINSCOMP> > Content-Type: text/plain; charset="iso-8859-1" > > try adding: > > System("pause"); > > > at the end of your code. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://sourceforge.net/mailarchive/forum.php?forum=dev-cpp-users/attachments/20060823/ca67dc7d/attachment.html > > ------------------------------ > > Message: 3 > Date: Wed, 23 Aug 2006 17:42:26 +0200 (CEST) > From: Per Westermark <pw...@ia...> > Subject: Re: [Dev-C++] *Help Please* > To: Austin Scholze <Aus...@co...> > Cc: Dev...@li... > Message-ID: > <Pin...@ia...> > Content-Type: TEXT/PLAIN; charset=US-ASCII > > But make sure you spell it > system("pause"); > > i.e. not capitalized. > > /Per W > > On Wed, 23 Aug 2006, Austin Scholze wrote: > > >> try adding: >> >> System("pause"); >> >> >> at the end of your code. >> > > > > > ------------------------------ > > Message: 4 > Date: Thu, 24 Aug 2006 00:13:23 +0800 > From: "wmaple" <wm...@12...> > Subject: [Dev-C++] When debugging, how can I do? > To: "devc++" <dev...@li...> > Message-ID: <200...@12...> > Content-Type: text/plain; charset="gb2312" > > > Hi, > I am writting a console application. When debugging in dev-c++, there is no console window to pop out. How can I give data to > my program or observe its output? > Thanks for your reply. > -------------- > wmaple > 2006-08-24 > > > > > > ------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------ > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > End of Dev-cpp-users Digest, Vol 3, Issue 17 > ******************************************** > > > > add the following statements in your file containing the main() function: #include <cstdlib>// for c++ #include <stdlib.h> // for c int main() { // your codes here system("PAUSE"); // the statement will pause the console window when popped out return 0; } To enter your command line parameters, you should "run"-> "parameters", a window will pop-up, and you can enter the parameters that you need. |