Thread: Re: [Dev-C++] (no subject) (Page 3)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: David M. <ci...@ya...> - 2003-10-08 22:18:28
|
Essentially what I want to know is how do I detect oveflow errors? So far catching a exception thrown is the only way I have found. However I am curious as to how portable such a mechanism is, i.e. are exceptions universally supported yet? Thanks in Advance David McKen ----- Original Message ----- From: <age...@co...> To: <ci...@ya...> Sent: Wednesday, October 08, 2003 6:13 PM Subject: Re: [Dev-C++] (no subject) > Hmm... I do not understand your question that well. I think you are talking about exception handling, which is done by using the throw and catch keywords. See Bjarne Stroustrup's The C++ Language, 3rd Edition or Special Edition. > > -- > ~~Scott Simontis~~ > Programmer > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
|
From: Ray K. <he...@er...> - 2004-01-19 09:56:09
|
What specifically were you trying to do when you got that message? > Hung Dinh Le-pham wrote: Hi, > My name is Hung. I downloaded the devcpp4980 a few > months ago. I installed it and tried countless of > times but the one and only error i got is "unable to > run the program" which i don't understand why because > i follow steps in help menu. Even when i activated the > program samples, still the same error everytime. So > please help me fix it. I'd really appreciate that so > much. By the way, my computer window is an XP. Please > reply soon!!! |
|
From: Jay B. <jay...@ni...> - 2004-03-25 13:42:45
|
[snip] Hi,it's me again! My problems with Dev-cpp have not finished. So I want to ask you if you know a=20 web site where I can learn a bit more about input and output functions (cin=20 and cout, for example) and classes. I have already read a book by Helbert=20 Schildt, but I keep misunderstanding the point. I don't want to buy another=20 book, as they cost too much, but I want a suggestion for a web site. Thank you=20 very much [/snip] Have you tried searching on Google? http://www.google.com |
|
From: <gen...@ya...> - 2004-03-25 14:20:52
|
if you're so particular, go to http://www.mindview.net & get Bruce Eckel's 'Thinking in C++'. what you're looking for should be in volume 2, but i think you should go through volume 1 first to understand C++ syntax. ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
|
From: <gen...@ya...> - 2004-03-25 14:21:26
|
if you're so particular, go to http://www.mindview.net & get Bruce Eckel's 'Thinking in C++'. what you're looking for should be in volume 2, but i think you should go through volume 1 first to understand C++ syntax. yeah, and go search Google with the term 'bullschildt'. ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
|
From: <wa...@wa...> - 2004-05-25 19:05:33
|
On 25 May 2004 at 12:26, fa...@uc... wrote: > > Hi, > I just downloaded dev-c++ I wrote a helloworld program. > When I tried compiling It gave me the message unable to run. > I checked compiling options and I was told to include the location of > my binaries. I don't know where they are located. Could I get some > help with finding my binaries. The thing that trips most people up when they install Dev-C++ is that they install it into a directory structure where the names contain spaces. This is bad. Another thing that trips people up is that they start compiling code in directories where the names have spaces. This is also bad. So... where did you install the program? Can you include the compile log in your next message? (NOTE: this is not the error log that shows up under the Compile tab; this is the full compile log that shows up under the Compile Log tab.) HTH. Watson |
|
From: nuc p. <nuc...@ms...> - 2004-06-21 22:50:55
|
thanx jesse for the explanation. the line makes complete sense now!!
peter
>From: Jesse Hallam <jes...@gm...>
>To: dirty dragon <dir...@ms...>
>CC: dev...@li...
>Subject: Re: [Dev-C++] (no subject)
>Date: Mon, 21 Jun 2004 15:58:40 -0400
>
>Provided number is an integer,
>
>number / 10000 == 1st digit (55255 / 10000 = 5)
>number % 10 == 5th digit (55255 % 10 = 5)
>
>if (number/10000) == (number%10)) checks if the first and last digits are
>equal.
>
>
>(number/1000)%10 == 2nd digit
>(number/10)%10) == 4th digit
>
>if (number/1000)%10 == (number/10)%10 checks if the second and fourth
>digits are equal.
>
>The third digit can be ignored...
>
>Cheerio!
>
>
>
>On Mon, 21 Jun 2004 15:45:12 -0400, dirty dragon <dir...@ms...>
>wrote:
> >
> > can someone please explain the significance of the second if statement?
> > thnx pete
> >
> > if((number>=10000 && number <100000))
> >
> > {
> > if (((number/10000) == (number%10)) && (((number/1000)%10) ==
>((number/10)
> > %10)))
> >
> > cout<<number<<" is a palindrome"<<endl;
> > else
> > cout <<number<<" is not palindrome"<<endl;
> >
> > }
> > else{
> > cout<<"You did not enter a 5-digit number!"<<endl;
> >
> > _________________________________________________________________
> > FREE pop-up blocking with the new MSN Toolbar get it now!
> > http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by Black Hat Briefings & Training.
> > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> > digital self defense, top technical experts, no vendor pitches,
> > unmatched networking opportunities. Visit www.blackhat.com
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >
>
>
>--
>Jesse Hallam
>University of Waterloo Freshman
>
>
>-------------------------------------------------------
>This SF.Net email sponsored by Black Hat Briefings & Training.
>Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
>digital self defense, top technical experts, no vendor pitches,
>unmatched networking opportunities. Visit www.blackhat.com
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
MSN 9 Dial-up Internet Access fights spam and pop-ups now 3 months FREE!
http://join.msn.click-url.com/go/onm00200361ave/direct/01/
|
|
From: <Mat...@Ve...> - 2005-02-23 23:07:56
|
Must use the build command after using the compile command, I think. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Austin Scholze Sent: Wednesday, February 23, 2005 3:05 PM To: dev...@li... Subject: [Dev-C++] (no subject) Hi, I'm just getting started with Dev-C++ and I just need a simple question answered. how do you make and .exe file? , it compiles and all that, I just cant get it to make a .exe file, like one I could send to my friend. if you could tell me how I would be most grateful. Thank you. ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |
|
From: Jay B. <jay...@ni...> - 2005-03-07 15:00:56
|
[snip] My program has a problem, when I compile and run even the simplest of programs, the text window doesn't stay open. I have ticked the option in the tools menu but it makes no difference. I have also tried running the latest ver. of Dev. I'm running win xp prof. with sp2. Any help would be greatly appreciated. [/snip] Add a PAUSE prior to the end of main |
|
From: Guillermo G. <ggu...@ma...> - 2005-03-07 15:03:11
|
actually, try:
system("PAUSE");
just above the "return 0" line at the end of your program.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Koos
Sent: Monday, March 07, 2005 6:53 AM
To: dev...@li...
Subject: [Dev-C++] (no subject)
Hi,
My program has a problem, when I compile and run even the simplest of =
programs, the text window doesn't stay open. I have ticked the option in =
the tools menu but it makes no difference. I have also tried running the =
latest ver. of Dev.
I'm running win xp prof. with sp2.
Any help would be greatly appreciated.
Thanks
Koos=20
________________________________________________________________
Sent via the WebMail system at postnet.co.za
=20
=20
This mail service is supplied free of charge to our customers and the =
content of this e-mail does not represent the opinion of the supplier of =
the service.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: <Mat...@Ve...> - 2005-03-07 15:14:25
|
When the program is done running, the window closes.
Insert something like a #include <cstdlib>, then at the end system("PAUSE"),
or a #include <iostream> and then at the end cin.peek(), then whack a few
character keys when you are done looking at the output.
Alternatively, run your stuff from Cygwin bash or cmd.exe windows.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Koos
Sent: Monday, March 07, 2005 6:53 AM
To: dev...@li...
Subject: [Dev-C++] (no subject)
Hi,
My program has a problem, when I compile and run even the simplest of
programs, the text window doesn't stay open. I have ticked the option in the
tools menu but it makes no difference. I have also tried running the latest
ver. of Dev.
I'm running win xp prof. with sp2.
Any help would be greatly appreciated.
Thanks
Koos
________________________________________________________________
Sent via the WebMail system at postnet.co.za
This mail service is supplied free of charge to our customers and the
content of this e-mail does not represent the opinion of the supplier of the
service.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
|
|
From: <Mat...@Ve...> - 2005-04-13 14:26:41
|
Alright, I'll explain this for you really quick. When you include in C++, you include by filename. So, when the code says #include <iostream>, the <> means it's a system header in a standard directory like /usr/include/c++ or /usr/include for C headers on UNIX systems. On Windows the directories are a little "weird" but Dev-C++ takes care of it for you. This is different from Java, where the import keyword pulls stuff in by the name of the classes / packages you want. Personally, I have many more problems with the Java approach than the C++ approach, but that's just me. Your mileage may vary. Now, to include code of your own, place it in the same directory as the main file, and use "" instead of <>. For example, if you called the subten function's file subten.c, you would need #include "subten.c". Also, the compiler needs you to name files as .c or .cpp according to the kind of code you put in them, or it might get confused and try to compile some C++ as C, which will not usually work. If in doubt, call it a .cpp since C will compile as C++ 98/100 times. Hope this helps, Matt -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Austin Scholze Sent: Tuesday, April 12, 2005 9:19 PM To: AAAAA Dev C++ mail list Subject: [Dev-C++] (no subject) <SNIP> #include "subten" </SNIP> ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |
|
From: <Mat...@Ve...> - 2005-04-13 18:03:43
|
Verne is new at C++ too by his own admission; therefore I think he's
qualified to say this: he has just been reading books and teaching himself.
Verne's point is that reading a book really would help, so, from his point
of view, suggesting (however loudly) that Austin read a book is actually
giving help, not being unhelpful.
Sometimes the "tough love" approach to programming help is appropriate.
Apparently, Verne believes this is a case where "tough love" help is the
right kind.
As for whether it was needed, we are all adults here and I don't think it's
our responsibility to judge Verne. It's up to Verne to use his own best
judgment, and I don't think he would be the type of person who would use bad
judgment before he wrote something.
Correct me if I'm wrong on some of my points. I'm just trying to point out
what Verne might have been thinking when he dispensed the advice.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of jose
isaias cabrera
Sent: Wednesday, April 13, 2005 10:50 AM
To: Verne H. Bohlender
Cc: Dev C++; Austin Scholze
Subject: Re: [Dev-C++] (no subject)
Was that really needed?
Don't help, if you don't want to help.
On 4/13/05, Verne H. Bohlender <ve...@sy...> wrote:
> The answer to this is simple. READ A BOOK ON SIMPLE C++ AND LEARN THE
> FUNDAMENTALS FROM THE BOOK. There are an awful lot available if you do a
> simple search or go to a book store.
> Verne
>
>
> Hi. I'm new to programming, and don't know all the terminology, so please
go
> easy on me.
>
> I'm trying to figure out how to create a include file so I can use it's
> functions in my programs, by just including it.
>
> Here's my simple test program that didn't work in the least ^^
>
> __________________________________________________
>
> the program I tried to link to:
>
> #include<iostream>
>
> using namespace std;
>
>
> int subten(int num)
> {
> num -= 10;
> return num;
> }
> The program I tried to link to the above with:
>
> #include <iostream>
> #include "subten"
> using namespace std;
>
> main()
> {
>
> int a = 20;
> cout << a << endl;
> a=subten(a);
> cout << a;
>
> system("pause");
> }
> Ok, now please don't chew me out to bad for the mistakes that I made, and
> are common knowledge to everyone but me :p. thanks.
>
--
The Bible is not politically correct!
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
|
|
From: Jay B. <jay...@ni...> - 2005-04-13 18:18:48
|
[snip] Was that really needed? Don't help, if you don't want to help. [/snip] You'r eprobably one of those guys who got his feelings hurt when someone told them to RTFM or STFW, aren't you? Honestly, I'd rather teach a man to fish any day. He will learn more. There are thousands of tutorials on C++ programming on the web and any new programmer would gain value from them and the ability to find them. You didn't help out either, did you? Don't throw rocks unless you want them thrown back. Here is some sage advice from another list... 1. Try http://www.google.com Searching for "C++ YOUR QUERY" may fetch your relevant information within the first 10 results. 2. There is a searchable archive of the mailing list discussion online. Many of the common topics are discussed repeatedly, and you may get answer to your query from the earlier discussions.=20 For example: One of the repeatedly discussed question in the list is "Best C++ compiler". Everyone has his/her favourite editor. You can get all the opinions by going through the list archives.=20 3. If you are stuck with code and do not understand what is wrong, instead of posting the whole shebang, post the relevant portion of the code 4. Provide a clear descriptive subject line. Avoid general subjects like "Help!!", "A Question" etc. Especially avoid blank subjects.=20 5. When you want to start a new topic, open a new mail composer and enter the mailing list address instead of replying to an existing thread and replacing the subject and body with your message. 6. It's always a good idea to post back to the list once you've solved your problem. People usually add [SOLVED] to the subject line of their email when posting solutions. By posting your solution you're helping the next person with the same question.=20 7. Ask smart questions http://catb.org/~esr/faqs/smart-questions.html 8. Do not send your email to the list with attachments. If you don't have a place to upload your code, try the many pastebin websites (such as www.pastebin.com).=20 9. "Because it is hard to read." "Why?" "Top-postng is bad." |
|
From: jose i. c. <ji...@gm...> - 2005-04-13 19:46:52
|
Jay, wrong! I do my own research, read my books and do my homework.=20 Though, I am been known to ask a question here and there.=20 Nonetheless, there is a difference between saying, "The good way to start programming is by doing research on the internet, books, newsgroup, etc. What you are trying to do, many other folks have already done. So, i would suggest for you, "such and such" book, by "such and such" author. I also suggest www.cpp.org and www.someothercpp.org and www.anotherwebsite.com has been extremely helpful to me. You may want to give those a try and when you get stuck, come back and ask us. We'll be here waiting. By the way, happy programming!" and let the guy go with a bunch of knowledge and thinking that we are nice people. But putting the guy down like that it makes no sense.=20 You know, many people hate us c/c++ programmers because we are nasty.=20 Not because we are smart, which we are, but because we are nasty to people and other programmers. We love to show our wisdom and how smart we are and how great and short our code is and how... I guess that comes with the geeky side of us, but friends, it's a bad reputation we geeky people have, which we should change: we are socially challenged. Just a thought... Back to programming... On 4/13/05, Jay Blanchard <jay...@ni...> wrote: > [snip] > Was that really needed? >=20 > Don't help, if you don't want to help. > [/snip] >=20 > You'r eprobably one of those guys who got his feelings hurt when someone > told them to RTFM or STFW, aren't you? Honestly, I'd rather teach a man > to fish any day. He will learn more. There are thousands of tutorials on > C++ programming on the web and any new programmer would gain value from > them and the ability to find them. You didn't help out either, did you? > Don't throw rocks unless you want them thrown back. >=20 > Here is some sage advice from another list... >=20 > 1. Try http://www.google.com Searching for "C++ YOUR QUERY" may fetch > your relevant information within the first 10 results. >=20 > 2. There is a searchable archive of the mailing list discussion online. > Many of the common topics are discussed > repeatedly, and you may get answer to your query from the earlier > discussions. >=20 > For example: One of the repeatedly discussed question in the list is > "Best C++ compiler". Everyone has his/her favourite editor. You can get > all the opinions by going through the list archives. >=20 > 3. If you are stuck with code and do not understand what is wrong, > instead of posting the whole shebang, post the relevant portion of the > code >=20 > 4. Provide a clear descriptive subject line. Avoid general subjects like > "Help!!", "A Question" etc. Especially avoid blank subjects. >=20 > 5. When you want to start a new topic, open a new mail composer and > enter the mailing list address instead of replying to an existing thread > and replacing the subject and body with your message. >=20 > 6. It's always a good idea to post back to the list once you've solved > your problem. People usually add [SOLVED] to the subject line of their > email when posting solutions. By posting your solution you're helping > the next person with the same question. >=20 > 7. Ask smart questions http://catb.org/~esr/faqs/smart-questions.html >=20 > 8. Do not send your email to the list with attachments. If you don't > have a place to upload your code, try the many pastebin websites (such > as www.pastebin.com). >=20 > 9. "Because it is hard to read." > "Why?" > "Top-postng is bad." > |
|
From: William Mc C. <wil...@ms...> - 2011-06-01 09:44:34
|
.. http://bds-server.com/terr.php?ewtopicid=82go |
|
From: Angel C. <sci...@ho...> - 2012-05-15 02:33:54
|
Work From Home & Make Money Online - Its easy! http://sugarbakers.biz/nolino.php?toqtheme=382 ____________ "--It isobvious that the same application of this force maybe applied to control the ship fore and aft, althoughit is doubtful whether such a plan wouldhave any advantages, since this should be whollywithin the control of the pilot." (c) ralden winn Tue, 15 May 2012 3:33:45 |