dev-cpp-users Mailing List for Dev-C++ (Page 307)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Glen V. <gve...@pa...> - 2003-10-09 17:49:58
|
Yep, that was it, thanks! co...@ps... wrote: >Hi! > >Make file doesn't consist header files >when you Build_All project. >Because all .o files are erased compiler have to build all again. > >When you use Compile and make file doesn't consist headers >then probably you have checkbox ><MainMenu/Tools/CompilerOption/Use fast but imperfect dependency generation> >checked off. > >Try check on, compile and check makefile. >Headers should be back. > >Regards, >Collins > >----- Original Message ----- >From: "Glen Vermeylen" <gve...@pa...> >To: <dev...@li...> >Sent: Wednesday, October 08, 2003 11:22 PM >Subject: [Dev-C++] Dependencies in makefile > > > > >>Could someone explain why objects in makefiles don't need to depend on >>the header files? >>I could for instance add a new member to a class in the header, or >>change the type of an existing members or so. Don't you then need to >>make sure that you made the right changes? >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>SourceForge.net hosts over 70,000 Open Source Projects. >>See the people who have HELPED US provide better services: >>Click here: http://sourceforge.net/supporters.php >>_______________________________________________ >>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 >> >> >> > > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >SourceForge.net hosts over 70,000 Open Source Projects. >See the people who have HELPED US provide better services: >Click here: http://sourceforge.net/supporters.php >_______________________________________________ >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: Opacki, J. <Jos...@ng...> - 2003-10-09 15:34:06
|
Although I thought I had read somewhere that you could plug Dev-C++ to = work with Cygwin. That would be very interesting for me to see. If anyone = out there has done something like this, please share or point me to a page. Thanks. -----Original Message----- From: David McKen [mailto:ci...@ya...] Sent: Wednesday, October 08, 2003 6:13 PM To: dev...@li... Subject: Re: [Dev-C++] ISO C++ Compiler First let me point out that Dev-C++ is NOT a compiler, it uses Mingw (avalible at www.mingw.org) as the compiler, on top of which Dev-C++ adds an Integrated Desktop Enviroment (IDE). As for mingw, I am not too sure about ISO but it is ANSI compliant (I am guessing they are similar at the very least). The thing to watch out for is the extensions that are avalible. Mingw is a copy-cat version of the gcc/g++ compilers (avalible on almost all Unixes) that runs on and generates win32 executables. As for the extensions they can be turned off by using the "-ansi" switch. If you need any more information either someone else on the list may be able to help you or check out the Mingw web site. Signed David McKen ----- Original Message -----=20 From: "Leonel Quinteros" <qui...@ho...> To: <dev...@li...> Sent: Wednesday, October 08, 2003 5:48 PM Subject: [Dev-C++] ISO C++ Compiler > Hi List! > This is my first message to this list and i'm sorry by my bad english > speaking. > The question is =BFwhere is the 100% ISO/C++ compilant compiler?? I'm learning > C++ step by step in the free time between my visual fox developer work and > the university and i was read a hundred articles about the ISO compilant of > that compiler but no one about a compiler like that... > There is some one? > There is a project of something like that? > Why the GNU compiler is not one? > > Greetings > > Leonel > > _________________________________________________________________ > Charla con tus amigos en l=EDnea mediante MSN Messenger: > http://messenger.yupimsn.com/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > 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 __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ 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: Wobien <wo...@pl...> - 2003-10-09 14:44:28
|
Using assert is supposed to be a big help in finding bugs in your program.
#include <cassert>
assert(a<b);
should stop your program if a>=b and print the file and line number of the
assert statement that failed, if and only if you run in debug mode. If you
are not in debug mode, the assert statements should not be compiled.
Now I have 2 problems:
1: my program stops if the assert fails, even if I did not compile in the
debug mode.
2: when the program stops it does not wait and stop to give me the
opportunity to read the message about the file and line number. The system
("PAUSE"); statement at the end of the main procedure does not help here,
because the program never gets there.
A simple test "program" to try this is:
#include <stdlib.h>
#include <cassert>
int main()
{
int a=5;
int b=1;
assert(a<b);
system ("PAUSE");
return 0;
}
|
|
From: Per W. <pw...@ia...> - 2003-10-09 13:57:58
|
Are you also sick of the existing large-number libraries that exists, and that supports any number of digits up to size of available memory? To my knowledge, you can't write a portable implementation using overflow exceptions. The normal method is for example to perform all big-number arithmetic with unsigned numbers and a separately stored sign bit. Then you get: r0 = a0 + b0; overflow = r0 < a0 || r0 < b0; r1 = a1 + b1 + overflow; ... No need to work on bit level. If implemented in assembly, the overflow = r0 < a0 || r0 < b0 can be ignored, since an overflow would result in the carry bit being set in the processor flag register - all processors have support for carry bit. /Per W On Thu, 9 Oct 2003, David McKen wrote: > No I don't require it to be standard, however I would like > it to be standard. > > My current focus are speed and portability. The reason why > 64 bit won't sufice is because I would like to take a try > at the RSA factoring challenge: > > http://www.rsasecurity.com/rsalabs/challenges/factoring/faq.html > > And if you look throught you will eventually find the > challenge numbers at > > http://www.rsasecurity.com/rsalabs/challenges/factoring/numbers.html > > IF you take a look at those numbers then you will quickly > see why 64 bit is too small. Besides if I complete this > class I know at least 3-4 people who would use it because > they are sick of the 4 billlion limitation put on them. > > Thanks for your Help > > Signed > David McKen > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > 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: David M. <ci...@ya...> - 2003-10-09 13:23:29
|
No I don't require it to be standard, however I would like it to be standard. My current focus are speed and portability. The reason why 64 bit won't sufice is because I would like to take a try at the RSA factoring challenge: http://www.rsasecurity.com/rsalabs/challenges/factoring/faq.html And if you look throught you will eventually find the challenge numbers at http://www.rsasecurity.com/rsalabs/challenges/factoring/numbers.html IF you take a look at those numbers then you will quickly see why 64 bit is too small. Besides if I complete this class I know at least 3-4 people who would use it because they are sick of the 4 billlion limitation put on them. Thanks for your Help Signed David McKen __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
|
From: <co...@ps...> - 2003-10-09 07:49:00
|
Hi! Make file doesn't consist header files when you Build_All project. Because all .o files are erased compiler have to build all again. When you use Compile and make file doesn't consist headers then probably you have checkbox <MainMenu/Tools/CompilerOption/Use fast but imperfect dependency generation> checked off. Try check on, compile and check makefile. Headers should be back. Regards, Collins ----- Original Message ----- From: "Glen Vermeylen" <gve...@pa...> To: <dev...@li...> Sent: Wednesday, October 08, 2003 11:22 PM Subject: [Dev-C++] Dependencies in makefile > Could someone explain why objects in makefiles don't need to depend on > the header files? > I could for instance add a new member to a class in the header, or > change the type of an existing members or so. Don't you then need to > make sure that you made the right changes? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > 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: <qa...@ho...> - 2003-10-09 00:52:15
|
In the directory where a.out is, type chmod 744 a.out to make it executable. Then type ./a.out to run the program /J *********** REPLY SEPARATOR *********** On 2003-10-09 at 00:30 age...@co... wrote: >On Red HAt Linux, I successfully used G++ to compile my first program. >Now, how do I run it? I know it creates a file named a.out, but what do I >do after that to see my program? > >-- >~~Scott Simontis~~ >Programmer > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >SourceForge.net hosts over 70,000 Open Source Projects. >See the people who have HELPED US provide better services: >Click here: http://sourceforge.net/supporters.php >_______________________________________________ >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: <ver...@ya...> - 2003-10-09 00:36:50
|
I ran i install program and chose "typical" instalation and all went well. i can run the program but when i click on compile it says there is an error in the resource. this happens even with the examples included with Dev-C++ 4. if i remove the resource from the project the and compile it instantly says there are compile errors 0 and file size is 0... Any help on fixing this would be wanderful.. Ps i've reinstalled three times and its always the same --------------------------------- Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger |
|
From: <age...@co...> - 2003-10-09 00:31:20
|
On Red HAt Linux, I successfully used G++ to compile my first program. Now, how do I run it? I know it creates a file named a.out, but what do I do after that to see my program? -- ~~Scott Simontis~~ Programmer |
|
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: David M. <ci...@ya...> - 2003-10-08 22:13:03
|
First let me point out that Dev-C++ is NOT a compiler, it uses Mingw (avalible at www.mingw.org) as the compiler, on top of which Dev-C++ adds an Integrated Desktop Enviroment (IDE). As for mingw, I am not too sure about ISO but it is ANSI compliant (I am guessing they are similar at the very least). The thing to watch out for is the extensions that are avalible. Mingw is a copy-cat version of the gcc/g++ compilers (avalible on almost all Unixes) that runs on and generates win32 executables. As for the extensions they can be turned off by using the "-ansi" switch. If you need any more information either someone else on the list may be able to help you or check out the Mingw web site. Signed David McKen ----- Original Message ----- From: "Leonel Quinteros" <qui...@ho...> To: <dev...@li...> Sent: Wednesday, October 08, 2003 5:48 PM Subject: [Dev-C++] ISO C++ Compiler > Hi List! > This is my first message to this list and i'm sorry by my bad english > speaking. > The question is ¿where is the 100% ISO/C++ compilant compiler?? I'm learning > C++ step by step in the free time between my visual fox developer work and > the university and i was read a hundred articles about the ISO compilant of > that compiler but no one about a compiler like that... > There is some one? > There is a project of something like that? > Why the GNU compiler is not one? > > Greetings > > Leonel > > _________________________________________________________________ > Charla con tus amigos en línea mediante MSN Messenger: > http://messenger.yupimsn.com/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > 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 __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
|
From: Eric <eri...@cl...> - 2003-10-08 22:10:49
|
good its gone from 13K to 7K "WITH MORE TEXT ADDED" this could the UK tax system VAT "Value Added Text" ----- Original Message ----- From: <age...@co...> To: "Eric" <eri...@cl...> Sent: Thursday, October 09, 2003 11:02 AM Subject: Re: [Dev-C++] (no subject) HTML e-mails suck unless you need to post graphics inside your e-mail, need a ton of hyperlinks, or are making a newsletter. If you need pictures or hyperlinks, use AIM! -- ~~Scott Simontis~~ Programmer > this "dorkie black font on white HTML Email" came in at 13K in > file size > I have converted it to plain text email you will notice the drop in file > size, yet looks just the same as the original email "black font on > white" > > for more reading > http://www.georgedillon.com/web/html_email_is_evil.shtml (7 REASONS > WHY HTML E-MAILS ARE EVIL.) > > > > ----- Original Message ----- > From: David McKen > To: Dev-Cpp Mailing List > Sent: Wednesday, October 08, 2003 4:19 PM > Subject: [Dev-C++] (no subject) > > > Ok how are overflows handled in C++ for integer types? > I know about the resulting (number % upper_limit) effect which is > actually what I want. What I am interested in is determining that an > overflow has occurred. > So far my searches into the void ... whoops meant the C++ standard, seem > to suggest a exception is thrown when a overflow occurs, however I am > under the impression exceptions are not exactly completely portable just > yet, or am I wrong in this belief? The code makes use of classes so I am > fairly confident that exceptions are portably supported the question is > whether the exception is thrown for this exception. The following chunk > of the standard should explain why I am not too sure about this. > -- Begin Quote -- > [Note: operators can be regrouped according to the usual mathematical > rules only where the operators really > are associative or commutative.9) For example, in the following fragment > int a, b; > /*...*/ > a = a + 32760 + b + 5; > the expression statement behaves exactly the same as > a = (((a + 32760) + b) + 5); > due to the associativity and precedence of these operators. Thus, the > result of the sum (a + 32760) is > next added to b, and that result is then added to 5 which results in the > value assigned to a. On a machine in > which overflows produce an exception and in which the range of values > representable by an int is > [- 32768,+32767], the implementation cannot rewrite this expression as > a = ((a + b) + 32765); > since if the values for a and b were, respectively, - 32754 and - 15, > the sum a + b would produce an > exception while the original expression would not; nor can the > expression be rewritten either as > a = ((a + 32765) + b); > or > a = (a + (b + 32765)); > since the values for a and b might have been, respectively, 4 and - 8 > or - 17 and 12. However on a > machine in which overflows do not produce an exception and in which the > results of overflows are > reversible, the above expression statement can be rewritten by the > implementation in any of the above ways > because the same result will occur. ] > > -- End Quote -- > This seems to indicate that the overflow is only thrown on machines that > produce some sort of exception when an overflow occurs. Also a similar > exception class exist for underflows the structure seems to be extremely > similar to the overflow, I assume if one works then so does the other. > Also is there some mathematical way to detect such an overflow? So far I > am not finding any way, as the result can potentially be anywhere within > the full range of numbers represent by the data type. I would rather not > try to determine if an overflow would occur by performing the addition > myself in binary as I am exploring this method to try to increase the > efficiency of my algorithm and doing the addition "by hand" would > severely increase the complexity of my algorithm. > Thanks in Advance > David McKen > P.S. In case you are wondering this is not homework but a BigInt class I > am trying to create. > > > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > 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: P.D. v. Z. <pa...@my...> - 2003-10-08 21:58:56
|
No compiler is fully standards-compliant yet, because the standard = imposes pretty hard to implement requirements. GCC is the most = standards-compliant compiler you'll find, and for practically all C++ purposes its = compliance is more than enough. In a few years or so GCC will be 100% compliant I = suppose. I haven't really looked into the planning for the GCC project. =20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Leonel Quinteros Sent: Wednesday, October 08, 2003 11:49 PM To: dev...@li... Subject: [Dev-C++] ISO C++ Compiler Hi List! This is my first message to this list and i'm sorry by my bad english speaking. The question is =BFwhere is the 100% ISO/C++ compilant compiler?? I'm = learning C++ step by step in the free time between my visual fox developer work=20 C++ and the university and i was read a hundred articles about the ISO compilant = of that compiler but no one about a compiler like that... There is some one? There is a project of something like that? Why the GNU compiler is not one? Greetings Leonel _________________________________________________________________ Charla con tus amigos en l=EDnea mediante MSN Messenger:=20 http://messenger.yupimsn.com/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ 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: Leonel Q. <qui...@ho...> - 2003-10-08 21:49:10
|
Hi List! This is my first message to this list and i'm sorry by my bad english speaking. The question is ¿where is the 100% ISO/C++ compilant compiler?? I'm learning C++ step by step in the free time between my visual fox developer work and the university and i was read a hundred articles about the ISO compilant of that compiler but no one about a compiler like that... There is some one? There is a project of something like that? Why the GNU compiler is not one? Greetings Leonel _________________________________________________________________ Charla con tus amigos en línea mediante MSN Messenger: http://messenger.yupimsn.com/ |
|
From: Travis C. <tra...@le...> - 2003-10-08 21:24:47
|
I need help compiling objective-c programs in Dev-C++. I have the = latest edition of the IDE. I get errors telling me invalid token @, = etc. I have the option to link in Objective-C code in the options. Has anyone had success compiling objective-c code? Travis L. Chase |
|
From: Glen V. <gve...@pa...> - 2003-10-08 21:22:54
|
Could someone explain why objects in makefiles don't need to depend on the header files? I could for instance add a new member to a class in the header, or change the type of an existing members or so. Don't you then need to make sure that you made the right changes? |
|
From: Eric <eri...@cl...> - 2003-10-08 20:47:22
|
this "dorkie black font on white HTML Email" came in at 13K in file size I have converted it to plain text email you will notice the drop in file size, yet looks just the same as the original email "black font on white" for more reading http://www.georgedillon.com/web/html_email_is_evil.shtml (7 REASONS WHY HTML E-MAILS ARE EVIL.) ----- Original Message ----- From: David McKen To: Dev-Cpp Mailing List Sent: Wednesday, October 08, 2003 4:19 PM Subject: [Dev-C++] (no subject) Ok how are overflows handled in C++ for integer types? I know about the resulting (number % upper_limit) effect which is actually what I want. What I am interested in is determining that an overflow has occurred. So far my searches into the void ... whoops meant the C++ standard, seem to suggest a exception is thrown when a overflow occurs, however I am under the impression exceptions are not exactly completely portable just yet, or am I wrong in this belief? The code makes use of classes so I am fairly confident that exceptions are portably supported the question is whether the exception is thrown for this exception. The following chunk of the standard should explain why I am not too sure about this. -- Begin Quote -- [Note: operators can be regrouped according to the usual mathematical rules only where the operators really are associative or commutative.9) For example, in the following fragment int a, b; /*...*/ a = a + 32760 + b + 5; the expression statement behaves exactly the same as a = (((a + 32760) + b) + 5); due to the associativity and precedence of these operators. Thus, the result of the sum (a + 32760) is next added to b, and that result is then added to 5 which results in the value assigned to a. On a machine in which overflows produce an exception and in which the range of values representable by an int is [- 32768,+32767], the implementation cannot rewrite this expression as a = ((a + b) + 32765); since if the values for a and b were, respectively, - 32754 and - 15, the sum a + b would produce an exception while the original expression would not; nor can the expression be rewritten either as a = ((a + 32765) + b); or a = (a + (b + 32765)); since the values for a and b might have been, respectively, 4 and - 8 or - 17 and 12. However on a machine in which overflows do not produce an exception and in which the results of overflows are reversible, the above expression statement can be rewritten by the implementation in any of the above ways because the same result will occur. ] -- End Quote -- This seems to indicate that the overflow is only thrown on machines that produce some sort of exception when an overflow occurs. Also a similar exception class exist for underflows the structure seems to be extremely similar to the overflow, I assume if one works then so does the other. Also is there some mathematical way to detect such an overflow? So far I am not finding any way, as the result can potentially be anywhere within the full range of numbers represent by the data type. I would rather not try to determine if an overflow would occur by performing the addition myself in binary as I am exploring this method to try to increase the efficiency of my algorithm and doing the addition "by hand" would severely increase the complexity of my algorithm. Thanks in Advance David McKen P.S. In case you are wondering this is not homework but a BigInt class I am trying to create. Do you Yahoo!? The New Yahoo! Shopping - with improved product search |
|
From: A d i <ad...@k6...> - 2003-10-08 15:42:52
|
hi Paul, thanks for the reply. i have the gcc.exe on my hard-drive and the compiler log does not give "g++ is not recognized as an internal or external command, ..." error. cheers, adi |
|
From: Daniel G. <sp...@ho...> - 2003-10-08 14:53:10
|
Thanks.
I visited the website that was posted and I saw that it was quite different,
the most notable bit to me was the different position of the target.
Thanks,
Daniel
>From: Matthews <dem...@uw...>
>To: dev...@li...
>Subject: Re: [Dev-C++] InLineAssembler in Dev-C++
>Date: Tue, 07 Oct 2003 16:15:39 -0400
>
>Yes. *If* the VC++ asm blocks were allowed, the syntax would be like this:
>
>asm {
> movd ptr [BigInt], eax
> add dword ptr [SmallInt], eax
> movd eax, ptr [ResultInt]
>}
>
>BUT, since gcc doesn't allow blocks like that, you must use a strange
>__asm() construct which I still don't understand and can't explain.
>
>At 09:09 AM 07/10/2003 +0100, Daniel Glenfield wrote:
> >Is it very different to what is used by visual C++ / visual studio .NET ?
> >
> >For example is VC++ I could do
> >
> >// Add the sum of some integers declared earlier
> >__asm
> >{
> > // eax is the target, move BigInt onto eax.
> > mov eax, dword ptr[BigInt]
> > // eax is the target (with BigInt on it), add SmallInt to the target
> > add eax, dword ptr[SmallInt]
> >
> > // Move eax onto the new target, the variable that is the result
> > mov dword ptr[ResultInt], eax
> >}
> >
> >std::cout<< ResultInt << std::endl;
> >
> >
> >Would this simple piece of code be radically different?
> >
> >Daniel
> >
> >
> >>From: David McKen <ci...@ya...>
> >>Reply-To: ci...@ya...
> >>To: Ursin "Solèr" <urs...@pm...>,
> >>dev...@li...
> >>Subject: Re: [Dev-C++] InLineAssembler in Dev-C++
> >>Date: Mon, 6 Oct 2003 15:11:57 -0700 (PDT)
> >>
> >>Yes it does. However it is mingw that supports inline
> >>assembler not Dev-C++.
> >>The thing is that mingw supports the AT&T syntax (search
> >>google you will
> >>find loads of examples) not the standard i*86 syntax. You
> >>can probably check
> >>the documentation at www.mingw.org or just search in
> >>google.
> >>
> >>Happy Coding
> >>David McKen
> >>
> >>
> >>----- Original Message -----
> >>From: "Ursin Solèr" <urs...@pm...>
> >>To: <dev...@li...>
> >>Sent: Monday, October 06, 2003 5:06 AM
> >>Subject: [Dev-C++] InLineAssembler in Dev-C++
> >>
> >>
> >> > Hi folks
> >> >
> >> > Does Dev-C++ fully support inlineassembling?
> >> > Does anyone of you have a working example?
> >> >
> >> > Thanks, very much!! ;)
> >> > --
> >> > Ursin Solèr
> >> > Physiklaborant
> >> >
> >> > Observatorium Davos (PMOD/WRC)
> >> > Dorfstrasse 33
> >> > CH-7260 Davos Dorf
> >> >
> >> > Tel.: +41 81-417 5144
> >> > Fax.: +41 81-417 5100
> >> >
> >> > http://www.pmodwrc.ch/
> >> >
> >> >
> >>***********************************************************************
> >> > Zwei Planeten treffen sich im All. "Wie geht's?", fragt
> >>der eine.
> >> > "Schlecht", sagt der andere. "Einfach miserabel, ich habe
> >>Menschen."
> >> > "Mach dir nichts draus", sagt der eine, "das vergeht."
> >> >
> >>***********************************************************************
> >> >
> >> >
> >> >
> >> > -------------------------------------------------------
> >> > This sf.net email is sponsored by:ThinkGeek
> >> > Welcome to geek heaven.
> >> > http://thinkgeek.com/sf
> >> > _______________________________________________
> >> > 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
> >>
> >>
> >>__________________________________
> >>Do you Yahoo!?
> >>The New Yahoo! Shopping - with improved product search
> >>http://shopping.yahoo.com
> >>
> >>
> >>-------------------------------------------------------
> >>This sf.net email is sponsored by:ThinkGeek
> >>Welcome to geek heaven.
> >>http://thinkgeek.com/sf
> >>_______________________________________________
> >>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
> >
> >_________________________________________________________________
> >Find a cheaper internet access deal - choose one to suit you.
> >http://www.msn.co.uk/internetaccess
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by:ThinkGeek
> >Welcome to geek heaven.
> >http://thinkgeek.com/sf
> >_______________________________________________
> >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
> >
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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
_________________________________________________________________
Sign-up for a FREE BT Broadband connection today!
http://www.msn.co.uk/specials/btbroadband
|
|
From: Matthews <dem...@uw...> - 2003-10-08 11:42:38
|
Yes. *If* the VC++ asm blocks were allowed, the syntax would be like this:
asm {
movd ptr [BigInt], eax
add dword ptr [SmallInt], eax
movd eax, ptr [ResultInt]
}
BUT, since gcc doesn't allow blocks like that, you must use a strange
__asm() construct which I still don't understand and can't explain.
At 09:09 AM 07/10/2003 +0100, Daniel Glenfield wrote:
>Is it very different to what is used by visual C++ / visual studio .NET ?
>
>For example is VC++ I could do
>
>// Add the sum of some integers declared earlier
>__asm
>{
> // eax is the target, move BigInt onto eax.
> mov eax, dword ptr[BigInt]
> // eax is the target (with BigInt on it), add SmallInt to the target
> add eax, dword ptr[SmallInt]
>
> // Move eax onto the new target, the variable that is the result
> mov dword ptr[ResultInt], eax
>}
>
>std::cout<< ResultInt << std::endl;
>
>
>Would this simple piece of code be radically different?
>
>Daniel
>
>
>>From: David McKen <ci...@ya...>
>>Reply-To: ci...@ya...
>>To: Ursin "Sol=E8r" <urs...@pm...>, =20
>>dev...@li...
>>Subject: Re: [Dev-C++] InLineAssembler in Dev-C++
>>Date: Mon, 6 Oct 2003 15:11:57 -0700 (PDT)
>>
>>Yes it does. However it is mingw that supports inline
>>assembler not Dev-C++.
>>The thing is that mingw supports the AT&T syntax (search
>>google you will
>>find loads of examples) not the standard i*86 syntax. You
>>can probably check
>>the documentation at www.mingw.org or just search in
>>google.
>>
>>Happy Coding
>>David McKen
>>
>>
>>----- Original Message -----
>>From: "Ursin Sol=E8r" <urs...@pm...>
>>To: <dev...@li...>
>>Sent: Monday, October 06, 2003 5:06 AM
>>Subject: [Dev-C++] InLineAssembler in Dev-C++
>>
>>
>> > Hi folks
>> >
>> > Does Dev-C++ fully support inlineassembling?
>> > Does anyone of you have a working example?
>> >
>> > Thanks, very much!! ;)
>> > --
>> > Ursin Sol=E8r
>> > Physiklaborant
>> >
>> > Observatorium Davos (PMOD/WRC)
>> > Dorfstrasse 33
>> > CH-7260 Davos Dorf
>> >
>> > Tel.: +41 81-417 5144
>> > Fax.: +41 81-417 5100
>> >
>> > http://www.pmodwrc.ch/
>> >
>> >
>>***********************************************************************
>> > Zwei Planeten treffen sich im All. "Wie geht's?", fragt
>>der eine.
>> > "Schlecht", sagt der andere. "Einfach miserabel, ich habe
>>Menschen."
>> > "Mach dir nichts draus", sagt der eine, "das vergeht."
>> >
>>***********************************************************************
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > This sf.net email is sponsored by:ThinkGeek
>> > Welcome to geek heaven.
>> > http://thinkgeek.com/sf
>> > _______________________________________________
>> > 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
>>
>>
>>__________________________________
>>Do you Yahoo!?
>>The New Yahoo! Shopping - with improved product search
>>http://shopping.yahoo.com
>>
>>
>>-------------------------------------------------------
>>This sf.net email is sponsored by:ThinkGeek
>>Welcome to geek heaven.
>>http://thinkgeek.com/sf
>>_______________________________________________
>>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
>
>_________________________________________________________________
>Find a cheaper internet access deal - choose one to suit you.=20
>http://www.msn.co.uk/internetaccess
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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: Daniel G. <sp...@ho...> - 2003-10-08 08:34:14
|
Hi all, does anybody know how some of these programming geniuses got started? Are they all university educated or have some bravely fought their way up from the bottom (a bit like me lol). I thought I'd ask, makes a change from coding queries ;) Daniel _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger |
|
From: Michael D. S. <for...@hi...> - 2003-10-08 05:44:24
|
In searching for two header files I needed, I was forced to download a bunch. Many of them have the same names as the Dev-C++ header files I downloaded (not to long ago) with Dev-C++ but are newer. Any harm in using all the newer header files? Or should I avoid changes unless absolutely necessary -- like the two I was completely missing? |
|
From: David M. <ci...@ya...> - 2003-10-08 03:19:29
|
Ok how are overflows handled in C++ for integer types? I know about the resulting (number % upper_limit) effect which is actually what I want. What I am interested in is determining that an overflow has occurred. So far my searches into the void ... whoops meant the C++ standard, seem to suggest a exception is thrown when a overflow occurs, however I am under the impression exceptions are not exactly completely portable just yet, or am I wrong in this belief? The code makes use of classes so I am fairly confident that exceptions are portably supported the question is whether the exception is thrown for this exception. The following chunk of the standard should explain why I am not too sure about this. -- Begin Quote -- [Note: operators can be regrouped according to the usual mathematical rules only where the operators really are associative or commutative.9) For example, in the following fragment int a, b; /*...*/ a = a + 32760 + b + 5; the expression statement behaves exactly the same as a = (((a + 32760) + b) + 5); due to the associativity and precedence of these operators. Thus, the result of the sum (a + 32760) is next added to b, and that result is then added to 5 which results in the value assigned to a. On a machine in which overflows produce an exception and in which the range of values representable by an int is [ 32768,+32767], the implementation cannot rewrite this expression as a = ((a + b) + 32765); since if the values for a and b were, respectively, 32754 and 15, the sum a + b would produce an exception while the original expression would not; nor can the expression be rewritten either as a = ((a + 32765) + b); or a = (a + (b + 32765)); since the values for a and b might have been, respectively, 4 and 8 or 17 and 12. However on a machine in which overflows do not produce an exception and in which the results of overflows are reversible, the above expression statement can be rewritten by the implementation in any of the above ways because the same result will occur. ] -- End Quote -- This seems to indicate that the overflow is only thrown on machines that produce some sort of exception when an overflow occurs. Also a similar exception class exist for underflows the structure seems to be extremely similar to the overflow, I assume if one works then so does the other. Also is there some mathematical way to detect such an overflow? So far I am not finding any way, as the result can potentially be anywhere within the full range of numbers represent by the data type. I would rather not try to determine if an overflow would occur by performing the addition myself in binary as I am exploring this method to try to increase the efficiency of my algorithm and doing the addition "by hand" would severely increase the complexity of my algorithm. Thanks in Advance David McKen P.S. In case you are wondering this is not homework but a BigInt class I am trying to create. --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search |
|
From: Paul I. <pi...@ot...> - 2003-10-08 00:50:59
|
Citerar A d i <ad...@k6...>: > hi folks, > i run dev-c++ ver 4.9.8.3 on windows 98. > i have a problem of having no compiler or linker errors whatsoever for = a > console application in c++. i have tried to purposely create some synta= x > errors, but got no error messages. the compilation didn't result in an > executable, but it created Makefile.win. > Any thought? >=20 Did you download the IDE-only package? In this case you don't have the co= mpiler=20 (look for gcc.exe on your hard-drive.) If you have it, check if Dev-C++ f= inds=20 it. See compiler log (lower part of the window): any "'g++ is not recogni= zed as=20 an internal or external command, ..." error?=20 |
|
From: A d i <ad...@k6...> - 2003-10-07 22:21:05
|
hi folks, i run dev-c++ ver 4.9.8.3 on windows 98. i have a problem of having no compiler or linker errors whatsoever for a console application in c++. i have tried to purposely create some syntax errors, but got no error messages. the compilation didn't result in an executable, but it created Makefile.win. Any thought? -a- http://the2the.com/adi =E-mail disclaimer= This e-mail and its attachments are intended solely for the above-mentioned recipients and it may contain confidential or privileged information. Unless otherwise stated, this e-mail is not intended to be contractually binding. If you have received it in error, please notify the sender immediately and delete the e-mail. You must not copy, distribute, disclose or take any action in reliance on it. This e-mail and its attachments are believed to be free from errors, omissions, and viruses but it is your responsibility to carry out all necessary checks and the sender accepts no liability in connection therewith. |