dev-cpp-users Mailing List for Dev-C++ (Page 394)
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: Ioannis V. <iv...@at...> - 2003-04-23 12:32:49
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Reid Thompson > Sent: Wednesday, April 23, 2003 2:35 PM > To: Khalid El-Kary; Dev...@li... > Subject: RE: [Dev-C++] c or c++. that is the question > > > initial file sizes compiled on cygwin gcc/g++. > these compiled on RH 7.2 gcc/g++ - not as large a difference, > but a difference. > Not sure how that would equate out if the program was 10K > lines, or 100K lines, etc > gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-108.7.2) This doesn't mean anything other than that the C++ part of the compiler has more space of improvement (after all C++ standard is relatively new!). References: http://www.research.att.com/~bs/bs_faq.html#Hello-world http://www.research.att.com/~bs/esc99.html and my own benchmarks: http://www23.brinkster.com/noicys/cppfaq.htm Check them out. Regards, Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: David M. <dem...@uw...> - 2003-04-23 12:00:57
|
That's a relative view. I personally think that C is easier than C++, and I ues it much more often. At 10:16 PM 22/04/2003 -0400, jose isaias cabrera wrote: > Greetings! Here is a question for all: why would anyone use c when >c++ is so much easier? jos=E9=20 |
|
From: Reid T. <Rei...@at...> - 2003-04-23 11:35:24
|
initial file sizes compiled on cygwin gcc/g++.
these compiled on RH 7.2 gcc/g++ - not as large a difference, but a =
difference.
Not sure how that would equate out if the program was 10K lines, or 100K =
lines, etc
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-108.7.2)
-rwxr-xr-x 1 rthompso staff 13738 Apr 23 07:29 tst*
-rwxr-xr-x 1 rthompso staff 14765 Apr 23 07:29 tstCpp*
stripped
-rwxr-xr-x 1 rthompso staff 4088 Apr 23 07:31 tstCpp*
-rwxr-xr-x 1 rthompso staff 3272 Apr 23 07:31 tst*
#include <stdio.h>
int main(void)
{
printf("hello world\n");
return 0;
}
#include <iostream>
using namespace std;
class Hello
{
public:
void print(void)
{
cout << "hello world" << endl;
}
};
int main(void)
{
Hello* p =3D new Hello;
p -> print();
delete p;
return 0;
}
reid
> -----Original Message-----
> From: Khalid El-Kary [mailto:kha...@ho...]=20
> Sent: Wednesday, April 23, 2003 12:19 AM
> To: Dev...@li...
> Subject: RE: [Dev-C++] c or c++. that is the question
>=20
>=20
> One question:
>=20
> is there a extern "C++" like there's extern "C" ?
>=20
> if there's isn't, C code will be more useable, for both C++=20
> and C programms.=20
> (?)
>=20
>=20
> Khalid
> >Ioannis wearing his bullet-proof vest:
> >
> >
> >Keep in mind that the prevalent X-Window library now is a=20
> C++ one. Also
> >most
> >new GNU/Linux programs are being written in C++ these days...
> >
> >
> >File sizes for the hello world program should not be different.
> >
> >
> >
> >
> >Ioannis Vranos
> >
> >* Programming pages: http://www.noicys.freeurl.com
> >* Alternative URL 1: http://run.to/noicys
> >* Alternative URL 2: http://www.noicys.cjb.net
> >
> >
> >Anti-racism movement: http://www.positive-youthfoundation.org
> >Iraq Peace Pledge: http://www.peacepledge.org
> >
> >
> >
> >
> >
> >-----Original Message-----
> >From: dev...@li...
> >[mailto:dev...@li...] On Behalf Of Reid=20
> >Thompson
> >Sent: Wednesday, April 23, 2003 6:03 AM
> >To: dev...@li...
> >Subject: RE: [Dev-C++] c or c++. that is the question
> >
> >
> >many reasons..., here's the first that comes to my mind....
> >size:
> >-rwxrwxrwx 1 Reid.Tho Domain U 19223 Apr 22 22:22 tstC.exe*
> >-rwxrwxrwx 1 Reid.Tho Domain U 448506 Apr 22 22:29 tstCPP.exe*
> >stripped:
> >-rwxrwxrwx 1 Reid.Tho Domain U 10240 Apr 22 22:32 tstC.exe*
> >-rwxrwxrwx 1 Reid.Tho Domain U 219136 Apr 22 22:32 tstCPP.exe*
> >
> >
> >and ease of use is subjective :)
> >
> >#include <stdio.h>
> >
> >int main(void)
> >{
> > printf("hello world");
> > return 0;
> >}
> >---------------------------
> >#include <iostream>
> >using namespace std;
> >
> >int main(void)
> >{
> > cout << "hello world";
> > return 0;
> >}
> >
> >or, since everything 'should' be a class/object:
> >
> >#include <iostream>
> >using namespace std;
> >
> >class Hello
> >{
> > public:
> > void print(void)
> > {
> > cout << "hello world" << endl;
> > }
> >};
> >int main(void)
> >{
> > Hello* p =3D new Hello;
> > p -> print();
> > delete p;
> > return 0;
> >}
> >-rwxrwxrwx 1 Reid.Tho Domain U 449115 Apr 22 22:51 tstCPP.exe*
> >stripped
> >-rwxrwxrwx 1 Reid.Tho Domain U 219648 Apr 22 22:55 tstCPP.exe*
> >
> >
> >
> >
> >
> >
> >
> >
> >reid
> >-----Original Message-----
> >From: jose isaias cabrera [mailto:ji...@fr...]
> >Sent: Tuesday, April 22, 2003 10:17 PM
> >To: dev...@li...
> >Subject: [Dev-C++] c or c++. that is the question
> >
> >
> >
> >Greetings!
> >
> >Here is a question for all: why would anyone use c when c++=20
> is so much=20
> >easier?
> >
> >jos=E9
> >
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by:ThinkGeek
> >Welcome to geek heaven.
> >http://thinkgeek.com/sf=20
> _______________________________________________
> >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
>=20
>=20
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.=20
> http://join.msn.com/?page=3Dfeatures/featuredemail
>=20
>=20
>=20
> -------------------------------------------------------
> 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://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>=20
|
|
From: Daniel G. <sp...@ho...> - 2003-04-23 09:16:25
|
You should use Unicode strings (more bytes per character so you can use arabic, japanese, etc.) and keep your language strings in your resource files, so you can write the resource files only to redistribute your app in another language. >From: "Ioannis Vranos" <iv...@at...> >To: <Dev...@li...> >Subject: RE: [Dev-C++] Localization ? >Date: Wed, 23 Apr 2003 07:51:31 +0300 > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Khalid El-Kary > > Sent: Wednesday, April 23, 2003 7:21 AM > > To: Dev...@li... > > Subject: [Dev-C++] Localization ? > > > > > > Hi fellows, > > I wanted to ask about localization to different languages, > > what are the > > special considerations taken when I write a program in C/C++ ? > > > > add to the list langauges like Arabic ? > > > > any help or documentations I can read will be appreciated :-) > > >From the creator himself: > > >http://www.research.att.com/~bs/3rd_loc0.html > > > >There he has a link to a pdf for locales. > > > > >Ioannis Vranos > >* Programming pages: http://www.noicys.freeurl.com >* Alternative URL 1: http://run.to/noicys >* Alternative URL 2: http://www.noicys.cjb.net > > >Anti-racism movement: http://www.positive-youthfoundation.org >Iraq Peace Pledge: http://www.peacepledge.org > > > > >------------------------------------------------------- >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://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Get Hotmail on your mobile phone http://www.msn.co.uk/mobile |
|
From: Ioannis V. <iv...@at...> - 2003-04-23 06:14:36
|
A C++ program should not be less space/time efficient than an equivalent = C program. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Norman Gonsalves Sent: Wednesday, April 23, 2003 8:57 AM To: dev...@li... Subject: Re: [Dev-C++] c or c++. that is the question On Tue, 22 Apr 2003 22:16:34 -0400 "jose isaias cabrera" <ji...@fr...> writes: >Here is a question for all: why would anyone use c when c++ is so much easier? Two obvious reasons are executable code size and compiler capability. Code written in C usually generates smaller executables than code = written in C++. Because of this you are more likely to use C only for embedded applications. If you are using a C only compiler (and there still several around) then = the use of C only is a given. Many older C/C++ compilers will have a lot of trouble with modern ANSI C++, but will probably work fine with C code. = Also, there are several interpreters and script languages based on C, but very = few based on (the more complex) C++. Is C++ really easier to use than C? The answer is a matter of opinion = ... many will disagree! Norm |
|
From: Norman G. <no...@ju...> - 2003-04-23 05:58:36
|
On Tue, 22 Apr 2003 22:16:34 -0400 "jose isaias cabrera" <ji...@fr...> writes: >Here is a question for all: why would anyone use c when c++ is so much easier? Two obvious reasons are executable code size and compiler capability. Code written in C usually generates smaller executables than code written in C++. Because of this you are more likely to use C only for embedded applications. If you are using a C only compiler (and there still several around) then the use of C only is a given. Many older C/C++ compilers will have a lot of trouble with modern ANSI C++, but will probably work fine with C code. Also, there are several interpreters and script languages based on C, but very few based on (the more complex) C++. Is C++ really easier to use than C? The answer is a matter of opinion ... many will disagree! Norm |
|
From: Ioannis V. <iv...@at...> - 2003-04-23 04:56:55
|
> -----Original Message----- > From: Ioannis Vranos [mailto:iv...@at...] > Sent: Wednesday, April 23, 2003 7:52 AM > To: 'Dev...@li...' > Subject: RE: [Dev-C++] Localization ? > > > From the creator himself: > > > http://www.research.att.com/~bs/3rd_loc0.html > > > There he has a link to a pdf for locales. That pdf is part of the book but he has made it available online too. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: Ioannis V. <iv...@at...> - 2003-04-23 04:53:16
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Khalid El-Kary > Sent: Wednesday, April 23, 2003 7:19 AM > To: Dev...@li... > Subject: RE: [Dev-C++] c or c++. that is the question > > > One question: > > is there a extern "C++" like there's extern "C" ? > > if there's isn't, C code will be more useable, for both C++ > and C programms. > (?) > > > Khalid extern "C" works both ways! If you want to use your C++ code in C programs, enclose the C++ *definitions* inside extern "C" blocks. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: Ioannis V. <iv...@at...> - 2003-04-23 04:51:42
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Khalid El-Kary > Sent: Wednesday, April 23, 2003 7:21 AM > To: Dev...@li... > Subject: [Dev-C++] Localization ? > > > Hi fellows, > I wanted to ask about localization to different languages, > what are the > special considerations taken when I write a program in C/C++ ? > > add to the list langauges like Arabic ? > > any help or documentations I can read will be appreciated :-) From the creator himself: http://www.research.att.com/~bs/3rd_loc0.html There he has a link to a pdf for locales. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: lamont <lam...@ve...> - 2003-04-23 04:50:45
|
>From: Scott Simontis SIMONTIS <age...@co...> >I want to know what I need to do now. I know how to output text, take >input, use strings, and perform logical operations. What is the next >step? If I want to become better at the C++ language, what is the best >way to go on in terms of writing a program? From my experience looking at working code is a great way to learn any language. There's tons of stuff available on the net. Pick a topic that you're interested in and find a program in that genre. Try to expand the programs' functionality or rewrite parts that don't work so well. While doing that you'll start to learn how a non-trivial application is developed and organized. - Lamont |
|
From: Khalid El-K. <kha...@ho...> - 2003-04-23 04:21:27
|
Hi fellows, I wanted to ask about localization to different languages, what are the special considerations taken when I write a program in C/C++ ? add to the list langauges like Arabic ? any help or documentations I can read will be appreciated :-) Regards, Khalid Al-Kary _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus |
|
From: Khalid El-K. <kha...@ho...> - 2003-04-23 04:19:21
|
One question: is there a extern "C++" like there's extern "C" ? if there's isn't, C code will be more useable, for both C++ and C programms. (?) Khalid >Ioannis wearing his bullet-proof vest: > > >Keep in mind that the prevalent X-Window library now is a C++ one. Also >most >new GNU/Linux programs are being written in C++ these days... > > >File sizes for the hello world program should not be different. > > > > >Ioannis Vranos > >* Programming pages: http://www.noicys.freeurl.com >* Alternative URL 1: http://run.to/noicys >* Alternative URL 2: http://www.noicys.cjb.net > > >Anti-racism movement: http://www.positive-youthfoundation.org >Iraq Peace Pledge: http://www.peacepledge.org > > > > > >-----Original Message----- >From: dev...@li... >[mailto:dev...@li...] On Behalf Of Reid >Thompson >Sent: Wednesday, April 23, 2003 6:03 AM >To: dev...@li... >Subject: RE: [Dev-C++] c or c++. that is the question > > >many reasons..., here's the first that comes to my mind.... >size: >-rwxrwxrwx 1 Reid.Tho Domain U 19223 Apr 22 22:22 tstC.exe* >-rwxrwxrwx 1 Reid.Tho Domain U 448506 Apr 22 22:29 tstCPP.exe* >stripped: >-rwxrwxrwx 1 Reid.Tho Domain U 10240 Apr 22 22:32 tstC.exe* >-rwxrwxrwx 1 Reid.Tho Domain U 219136 Apr 22 22:32 tstCPP.exe* > > >and ease of use is subjective :) > >#include <stdio.h> > >int main(void) >{ > printf("hello world"); > return 0; >} >--------------------------- >#include <iostream> >using namespace std; > >int main(void) >{ > cout << "hello world"; > return 0; >} > >or, since everything 'should' be a class/object: > >#include <iostream> >using namespace std; > >class Hello >{ > public: > void print(void) > { > cout << "hello world" << endl; > } >}; >int main(void) >{ > Hello* p = new Hello; > p -> print(); > delete p; > return 0; >} >-rwxrwxrwx 1 Reid.Tho Domain U 449115 Apr 22 22:51 tstCPP.exe* >stripped >-rwxrwxrwx 1 Reid.Tho Domain U 219648 Apr 22 22:55 tstCPP.exe* > > > > > > > > >reid >-----Original Message----- >From: jose isaias cabrera [mailto:ji...@fr...] >Sent: Tuesday, April 22, 2003 10:17 PM >To: dev...@li... >Subject: [Dev-C++] c or c++. that is the question > > > >Greetings! > >Here is a question for all: why would anyone use c when c++ is so much >easier? > >josé > > > > >------------------------------------------------------- >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://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |
|
From: Ioannis V. <iv...@at...> - 2003-04-23 03:59:18
|
Ioannis wearing his bullet-proof vest: Keep in mind that the prevalent X-Window library now is a C++ one. Also = most new GNU/Linux programs are being written in C++ these days... File sizes for the hello world program should not be different. Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Reid Thompson Sent: Wednesday, April 23, 2003 6:03 AM To: dev...@li... Subject: RE: [Dev-C++] c or c++. that is the question many reasons..., here's the first that comes to my mind.... size: -rwxrwxrwx 1 Reid.Tho Domain U 19223 Apr 22 22:22 tstC.exe* -rwxrwxrwx 1 Reid.Tho Domain U 448506 Apr 22 22:29 tstCPP.exe* stripped: -rwxrwxrwx 1 Reid.Tho Domain U 10240 Apr 22 22:32 tstC.exe* -rwxrwxrwx 1 Reid.Tho Domain U 219136 Apr 22 22:32 tstCPP.exe* =20 and ease of use is subjective :) #include <stdio.h> int main(void) { printf("hello world"); return 0; } --------------------------- #include <iostream> using namespace std; int main(void) { cout << "hello world"; return 0; } or, since everything 'should' be a class/object: #include <iostream> using namespace std; class Hello { public: void print(void) { cout << "hello world" << endl; } }; int main(void) { Hello* p =3D new Hello; p -> print(); delete p; return 0; } -rwxrwxrwx 1 Reid.Tho Domain U 449115 Apr 22 22:51 tstCPP.exe* stripped -rwxrwxrwx 1 Reid.Tho Domain U 219648 Apr 22 22:55 tstCPP.exe* reid=20 -----Original Message----- From: jose isaias cabrera [mailto:ji...@fr...]=20 Sent: Tuesday, April 22, 2003 10:17 PM To: dev...@li... Subject: [Dev-C++] c or c++. that is the question Greetings! Here is a question for all: why would anyone use c when c++ is so much easier? jos=E9 |
|
From: Shane P. <ge...@my...> - 2003-04-23 03:57:24
|
Go to www.cpp-home.com and check out all their tutorials. Pay special attention to anything that talks about linked lists because you will use them all the time in almost any kind of programing. Shane _______________________________________________ No banners. No pop-ups. No kidding. Introducing My Way - http://www.myway.com |
|
From: Ioannis V. <iv...@at...> - 2003-04-23 03:55:22
|
:) Keep in mind that C++ is more prevalent than C now.=20 However this is a "religious" issue and a nice flame can break out now (because of that smile of mine, that's why). Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of jose = isaias cabrera Sent: Wednesday, April 23, 2003 5:17 AM To: dev...@li... Subject: [Dev-C++] c or c++. that is the question Greetings! Here is a question for all: why would anyone use c when c++ is so much easier? jos=E9 |
|
From: Ioannis V. <iv...@at...> - 2003-04-23 03:52:23
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Scott Simontis SIMONTIS > Sent: Wednesday, April 23, 2003 2:15 AM > To: dev...@li... > Subject: [Dev-C++] C++ help >=20 >=20 > I want to know what I need to do now. I know how to output text, take=20 > input, use strings, and perform logical operations. What is the next=20 > step? If I want to become better at the C++ language, what is=20 > the best=20 > way to go on in terms of writing a program? Read "The C++ Programming Language" 3rd Edition or Special Edition by = Bjarne Stroustrup, the creator of C++. Keep in mind that it will take a while (years). This is what I am doing myself (I am also learning .NET). Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: Reid T. <Rei...@at...> - 2003-04-23 03:02:55
|
many reasons..., here's the first that comes to my mind....
size:
-rwxrwxrwx 1 Reid.Tho Domain U 19223 Apr 22 22:22 tstC.exe*
-rwxrwxrwx 1 Reid.Tho Domain U 448506 Apr 22 22:29 tstCPP.exe*
stripped:
-rwxrwxrwx 1 Reid.Tho Domain U 10240 Apr 22 22:32 tstC.exe*
-rwxrwxrwx 1 Reid.Tho Domain U 219136 Apr 22 22:32 tstCPP.exe*
=20
and ease of use is subjective :)
=20
#include <stdio.h>
=20
int main(void)
{
printf("hello world");
return 0;
}
---------------------------
#include <iostream>
using namespace std;
=20
int main(void)
{
cout << "hello world";
return 0;
}
=20
or, since everything 'should' be a class/object:
=20
#include <iostream>
using namespace std;
=20
class Hello
{
public:
void print(void)
{
cout << "hello world" << endl;
}
};
int main(void)
{
Hello* p =3D new Hello;
p -> print();
delete p;
return 0;
}
-rwxrwxrwx 1 Reid.Tho Domain U 449115 Apr 22 22:51 tstCPP.exe*
stripped
-rwxrwxrwx 1 Reid.Tho Domain U 219648 Apr 22 22:55 tstCPP.exe*
=20
=20
reid=20
-----Original Message-----
From: jose isaias cabrera [mailto:ji...@fr...]=20
Sent: Tuesday, April 22, 2003 10:17 PM
To: dev...@li...
Subject: [Dev-C++] c or c++. that is the question
=09
=09
=20
Greetings!
=20
Here is a question for all: why would anyone use c when c++ is so much =
easier?
=20
jos=E9
|
|
From: jose i. c. <ji...@fr...> - 2003-04-23 02:16:39
|
Greetings! Here is a question for all: why would anyone use c when c++ is so much = easier? jos=E9 |
|
From: Scott S. S. <age...@co...> - 2003-04-22 23:28:14
|
I want to know what I need to do now. I know how to output text, take input, use strings, and perform logical operations. What is the next step? If I want to become better at the C++ language, what is the best way to go on in terms of writing a program? |
|
From: David M. <dem...@uw...> - 2003-04-22 20:45:16
|
That would be the upgrade to gcc3.2, not Dev-C++'s settings. There've been a lot of questions like this. You can switch back to gcc2.95 manually if you want to, just uninstall Dev-c++, download the gcc2.95 package from mingw, download standalone Dev-C++ and set it up yourself. I personally prefer gcc3.2 though. At 12:06 PM 22/04/2003 -0400, David Matthews wrote: >> > I have the problem that the generated exe is too big with the version >> > 4.9.8.0. The same code compiled with Dev-C++ 4.01 is 5 KB, but with >> > 4.9.8.0 about 35 KB. Debug information is switched off, so I don't know >> > what the problem is. >> >> Dev-C++ does not compile anything; if 35 KB is a big problem to you, you >> should ask on MinGW's mailing list (probably somewhere at www.mingw.org). > >Hi! > >I forgot to write that I have had this problem since I upgraded Dev-C++, >so in my opinion it's a problem with the default settings, not with the >compiler. I thought of the debugging info, but it's switched off, so I >don't know what else to change. Is there anyone who had the same problem? > > Thanks, > > Laszlo > > > >------------------------------------------------------- >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://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > |
|
From: GWAVA <pos...@Te...> - 2003-04-22 15:38:33
|
This is an automated Notification e-mail message from GWAVA. The message you sent, from the address dev...@li... to [No To Addresses] Concerning: Dev-cpp-users digest, Vol 1 #1421 - 17 msgs Was not delivered because the message was found to be Spam by the e-mail system in use at the intended recipient's organization. If you think this message is not Spam and should have been delivered, or you have any questions concerning this message, please contact the pos...@te... |
|
From: Szathmary L. <sz...@de...> - 2003-04-22 15:11:41
|
> > I have the problem that the generated exe is too big with the version > > 4.9.8.0. The same code compiled with Dev-C++ 4.01 is 5 KB, but with > > 4.9.8.0 about 35 KB. Debug information is switched off, so I don't know > > what the problem is. > > Dev-C++ does not compile anything; if 35 KB is a big problem to you, you > should ask on MinGW's mailing list (probably somewhere at www.mingw.org). Hi! I forgot to write that I have had this problem since I upgraded Dev-C++, so in my opinion it's a problem with the default settings, not with the compiler. I thought of the debugging info, but it's switched off, so I don't know what else to change. Is there anyone who had the same problem? Thanks, Laszlo |
|
From: Daniel K. O. <dan...@ya...> - 2003-04-22 14:41:28
|
> I have the problem that the generated exe is too big with the version > 4.9.8.0. The same code compiled with Dev-C++ 4.01 is 5 KB, but with > 4.9.8.0 about 35 KB. Debug information is switched off, so I don't know > what the problem is. Dev-C++ does not compile anything; if 35 KB is a big problem to you, you should ask on MinGW's mailing list (probably somewhere at www.mingw.org). Daniel K. O. It's OK to be ignorant; it's not OK to play stupid. http://www.catb.org/~esr/faqs/smart-questions.html |
|
From: Simon J. <el...@op...> - 2003-04-22 14:11:20
|
Hello everyone,
Is there a function to use the windows-mouse, for instance, to tell the pointer to go to certain coordinates (x/y) and click? If yes, does the opposite command exist as well (a command which gives back the current coordinates)?
Thank you very much for your help!
Simon
--
____________________________________________
http://www.operamail.com
Get OperaMail Premium today - USD 29.99/year
Powered by Outblaze
|
|
From: =?iso-8859-1?Q?<ari...@in...> - 2003-04-22 12:58:34
|
I'm new to DevC++ .=0D=0A=0D=0AThere is somebody that can tell me were I = can found example on using FLTK library ??=0D=0ABecause I can't compile t= he 'editor example' or 'cube example' of FLTK?=0D=0AWhen I compile Cube e= xample i receive this error "20 C:\Documents and Settings\Administrator\D= esktop\fltk-1.1.3\test\CubeMain.cxx:26=0D=0Aconfig.h: No such file or dir= ectory."=0D=0AAnd when i compile the Editor example i recive this =0D=0A= [Linker error] undefined reference to `Fl_Text_Buffer::text()'=0D=0Aand o= ther similary=0D=0A=0D=0ABECAUSE ??=0D=0A=0D=0AThanks to all :-(=0D=0A=0D= =0A=0D=0AP.S. I'm using DEV-C++ 4.9.8.0=0D=0A and FLTK 1.1.2 |