dev-cpp-users Mailing List for Dev-C++ (Page 548)
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: Hongli L. <h....@ch...> - 2002-07-30 21:38:55
|
Guys, guys, you are forgetting one important thing: How in the world am I supposed to get a free copy of Borland C++ Builder? (Dev-C++ is for Win32 remember?) I lost contact with my national warez dealer a year ago so warez isn't an option :-) |
|
From: Abhijit S. <mu...@gm...> - 2002-07-30 21:20:40
|
> Ah, but Obj has two data members, which are a text string (which details
the
> precise error) and an integer (which is the error code). SetErrorLog()
> outputs this information to a text file.
I still don't get it... won't this do?
void Exception::SetErrorLog()
{
ofstream f("log.txt");
f << text_string << endl;
f << "Error-code " << err_code << endl;
}
|
|
From: Daniel G. <sp...@ho...> - 2002-07-30 17:25:19
|
Ah, but Obj has two data members, which are a text string (which details the precise error) and an integer (which is the error code). SetErrorLog() outputs this information to a text file. I suppose one way would be to make a copy of Obj (Obj2) and then pass obj so Obj2.SetErrorLog( Obj ); >From: "Abhijit Shylanath" <mu...@gm...> >To: "Daniel Glenfield" ><sp...@ho...>,<dev...@li...> >Subject: Re: [Dev-C++] Object passing itself >Date: Tue, 30 Jul 2002 22:16:20 +0530 > >It seems it should work (though I haven't tried it)... though it beats me >why you should pass in an exception object to an exception method... it >defeats the purpose of OOP, that of every object being self-contained. It >should, I feel, be > >Exception::SetErrorLog(); > >-------------------------- >"I'm not as thunk as you drink I am." >-------------------------- >Checked with NAV 2002 >http://mudeth.tripod.com > >----- Original Message ----- >From: "Daniel Glenfield" <sp...@ho...> >To: <dev...@li...> >Sent: Tuesday, July 30, 2002 6:58 PM >Subject: [Dev-C++] Object passing itself > > > > Can an object pass itself into the function it is calling? > > > > void DevModeDlg::OnSysCommand( UINT ID, LPARAM LParameter ) > > { > > try > > { > > DoOnSysCommandWork(); > > } > > catch ( Exception &Obj ) > > { > > Obj.SetErrorLog( &Obj ) // <--- Here > > } > > > > } > > > > > > where SetErrorLog > > > > void Exception::SetErrorLog( Exception &Obj ) > > { > > //... create a text file and put in data contained in Obj. > > } > > > > I tried 'this' but b/c I'm inside another class' function it tries to >pass > > that object (DevModeDlg) _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: Colin L. <col...@wa...> - 2002-07-30 17:16:28
|
Hi, > So, is anyone willing to port to C++? Port to c++... it would mean a complete rewrote Greetings, Colin > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > 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: <Met...@ao...> - 2002-07-30 16:54:49
|
mu...@gm... wrote : > If a library is present in the 'lib' directory, it doesn't neccessarily > meant that it's linked in. Unfortunately, I thought that, like I was saying a few minutes ago to Yeoh. All is running OK now. Thanks all mates. Kind regards -- Seb |
|
From: Alfredo C. <al...@cl...> - 2002-07-30 16:54:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Mar 30 Jul 2002 10:14, Abhijit Shylanath escribi=F3: > > Yes but sometimes we need a drawback to adavced faster and i > > think i it will be ported to c++ more fast that anybody think. > > Don't forget all here are c++ programers and if only 10% will > > help .... > > Yes, all here are C++ programmers, but only a fraction of us know > Delphi. Once the port is complete, I guess the Delphi version can > be abandoned and the C++ version continued: > > 1. It's an IDE for C++. I was really surprised when I found out > that Dev-C++ is coded in Delphi, I'm sure you were too :) > 2. It can be ported to other platforms > 3. It'll be cleaner... more people can read the code and actually > understand and modify it > 4. Support for other compilers? (BCC32 comes to mind) > > So, is anyone willing to port to C++? Maybe you should check http://wxworkshop.sourceforge.net and join in.=20 It's supposed to be for MS-Windows and Linux. Regards. - --=20 Alfredo J. Cole http://www.acyc.com (Accounting Systems) http://www.clshonduras.com (Linux Hardware) PGP Key available from certserver.pgp.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9RsOAu5DxuPWE298RAvt6AJ0aKKE04pBUJmlI9HBomE6DbTnWggCdH+Qg 7TR+95PSv7l5Y6aSimMbHhQ=3D =3DZ8Wu -----END PGP SIGNATURE----- |
|
From: <Met...@ao...> - 2002-07-30 16:53:18
|
Yeoh said : > In Project Options, have you included this? > -lcomctl32 Excellent ! It works OK now ! I guessed it was something like that, but examining the makefile created by DevCPP, I just thought reading the "-L" option that the linker was scanning all the libs in the lib directory to match the code calls. Stupid thought, yes I must admit now... Kind regards -- Seb |
|
From: Abhijit S. <mu...@gm...> - 2002-07-30 16:48:10
|
It seems it should work (though I haven't tried it)... though it beats me why you should pass in an exception object to an exception method... it defeats the purpose of OOP, that of every object being self-contained. It should, I feel, be Exception::SetErrorLog(); -------------------------- "I'm not as thunk as you drink I am." -------------------------- Checked with NAV 2002 http://mudeth.tripod.com ----- Original Message ----- From: "Daniel Glenfield" <sp...@ho...> To: <dev...@li...> Sent: Tuesday, July 30, 2002 6:58 PM Subject: [Dev-C++] Object passing itself > Can an object pass itself into the function it is calling? > > void DevModeDlg::OnSysCommand( UINT ID, LPARAM LParameter ) > { > try > { > DoOnSysCommandWork(); > } > catch ( Exception &Obj ) > { > Obj.SetErrorLog( &Obj ) // <--- Here > } > > } > > > where SetErrorLog > > void Exception::SetErrorLog( Exception &Obj ) > { > //... create a text file and put in data contained in Obj. > } > > I tried 'this' but b/c I'm inside another class' function it tries to pass > that object (DevModeDlg) |
|
From: Abhijit S. <mu...@gm...> - 2002-07-30 16:47:57
|
Try adding '-lws2_32' to 'Project Options' > 'Linker Options'. This causes it to link in the WinSock2 library. Many people seem to be having this problem with libraries so a small explanation follows: Just like when you declare a function, you define it at a later point, the same has to be done for standard library functions (like connect() for winsock). The header files you include (in this case 'winsock2.h') only contain the declarations of the functions, not the definitions. The definitions are contained in separate source files (.cpp) which are compiled into library files... here, all winsock source files are compiled into object files (.o) and bundled into 'libws2_32.a', so you need to link it in to actually use them. I hope I was clear. ----- Original Message ----- From: cim To: dev...@li... Sent: Tuesday, July 30, 2002 7:00 PM Subject: [Dev-C++] Problems with "winsock2.h" Anyone could explain me why for every function included in "winsock2.h" compiler says "[Linker error] undefined reference to 'FUNCTION_NAME @ INT'" (for example, for the function "connect" the message is "[Linker error] undefined reference to `connect @ 12'"). How can i solve this problem? Thanks, Max |
|
From: Abhijit S. <mu...@gm...> - 2002-07-30 16:47:34
|
If a library is present in the 'lib' directory, it doesn't neccessarily meant that it's linked in. To specify that you want to add, say libfoo.a to the project, in 'Project options' > 'Linker Options', type in '-lfoo'. So here, you'd specify '-lcomctl32'. Hope this helps. ---------Original Message--------- Hi there Just downloaded the ToolTipCtrl C++ class from codebytes to get some "bubble help" on my App. It needs commctrl.h and _WIN32_IE defined on a higher value of 0x300. All is OK by this side But then, there is a linker error saying that it is impossible to link the definition of InitCommonControlsEx() function to any piece of object code. Did I miss something ? Isn't it included in libcommctl32.a, in the lib directory ? Kind regards -- Seb |
|
From: Abhijit S. <mu...@gm...> - 2002-07-30 16:15:38
|
> Yes but sometimes we need a drawback to adavced faster and i think i it > will be ported to c++ more fast that anybody think. > Don't forget all here are c++ programers and if only 10% will help .... Yes, all here are C++ programmers, but only a fraction of us know Delphi. Once the port is complete, I guess the Delphi version can be abandoned and the C++ version continued: 1. It's an IDE for C++. I was really surprised when I found out that Dev-C++ is coded in Delphi, I'm sure you were too :) 2. It can be ported to other platforms 3. It'll be cleaner... more people can read the code and actually understand and modify it 4. Support for other compilers? (BCC32 comes to mind) So, is anyone willing to port to C++? |
|
From: Santiago P. C. <San...@yd...> - 2002-07-30 14:08:13
|
Unfortunately, yes :o( Sorry for pointing out a link that I've not checked since some time ago..= . But the message dates July 9th 2002, not so long ago... Anyway, there's been a lot of time since I don't need to use assembler...= =20:) Santy -----Original Message----- From: Rob [mailto:ro...@us...]=20 Sent: Tuesday, July 30, 2002 3:15 PM To: dev...@li... Subject: RE: [Dev-C++] RE: Kylix 3 It appears that http://www.vasm.org has fallen by the wayside. There is o= nly a single page there referring readers to an alternative assembler project= . Rob > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of=20 > Santiago Palmier Campos > Sent: Tuesday, July 30, 2002 7:01 AM > To: dev...@li... > Subject: RE: [Dev-C++] RE: Kylix 3 > > > Hi *, > > We are talking about helping in the development, bug-fixing tasks and=20 > to extend IDE functionality, not only IDE speed. While talking about=20 > "a drawback to advance faster" we are talking about these tasks, not=20 > only 'the speed the IDE runs at'... > > Think about this, AFAIK some features (like code completion or syntax=20 > highlighting based on custom/personalized code libraries) DO need some = > speed from the IDE ;o) > > BTW, C++ is also a high level programming language (as VB or Delphi),=20 > so you can write pure C++ code without worrying about low level > programming details > and achieve really fast & small programs... (Just take a look at point = 4 > from this interview to Bjarne Stroustrup > http://www.research.att.com/~bs/nantes-interview-english.html =3D8-O ) > > Anyway, it was only a suggestion... I like Dev-C++, but I'd like it=20 > more and more if it was written in C++ ;oD > > Regards, Santy > PS: For those really interested in writing assembler code, there's=20 > Visual Assembler IDE also available at http://www.vasm.orm enjoy it!=20 > };oP > > -----Original Message----- > From: Jorge Alzate [mailto:jor...@ep...] > Sent: Tuesday, July 30, 2002 1:32 PM > To: dev...@li... > Subject: [Dev-C++] RE: Kylix 3 > > > Cristian Teodorescu escribi=F3: > > Abhijit Shylanath wrote: > > >>><Ioannis Vranos words> > >>>Well a C++ version of Dev-C++ would have much fewer bugs >since we=20 > >>>all would be able to correct them and why not addd additiona, > >>>>facilities. </Ioannis Vranos words> > >>> > >>>I think Ioannis is right... It is not only that we could help to=20 > >>>linux version but we could help to windoze version; so we all can=20 > >>>improve Dev-C++ > >>> > >>> > >>development > >> > >> > >>>adding functionalities, fixin bugs, etc... > >>> > >>>It's just my vote for "Ioannis campaign for president" anyway...=20 > >>>;oP > >>> > >>>Best regards, Santy > >>> > >>> > >> > >>I dunno, it seems to me that porting Dev to C++ from Delphi would be > almost > >>like writing a whole new IDE form the ground up... which *is* an=20 > >>idea, but is pointless since Dev's come so far. > >> > >Yes but sometimes we need a drawback to adavced faster and i think i=20 > >it will be ported to c++ more fast that anybody think. Don't forget=20 > >all here are c++ programers and if only 10% will help .... > > I Don't think so, Really matters SPEED in a IDE like in games?, In=20 > other > words: Languages like VB or Delphi are more than appropiated for > GUI design > in the opposite side those are futile, and then C++ and assembler they > enter, if you like of real speed maybe you want to rewrite Dev-C++ in > assembler :) > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board = > for high-tech professionals. Search and apply for tech jobs today!=20 > http://seeker.dice.com/seeker.epl?rel_code1 > _______________________________________________ > 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 > ------------------------------------------------------------------ > -------------------- > This message and any files transmitted with it are confidential > and intended solely > for the use of the individual or entity to whom they are > addressed. No confidentiality > or privilege is waived or lost by any wrong transmission. > If you have received this message in error, please immediately > destroy it and kindly > notify the sender by reply email. > You must not, directly or indirectly, use, disclose, distribute, > print, or copy any > part of this message if you are not the intended recipient. > Opinions, conclusions and > other information in this message that do not relate to the > official business of > Ydilo Advanced Voice Solutions, S.A. shall be understood as > neither given nor endorsed by it. > ------------------------------------------------------------------ > -------------------- > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board = > for high-tech professionals. Search and apply for tech jobs today!=20 > http://seeker.dice.com/seeker.epl?rel_code1 > _______________________________________________ > 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 > ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board fo= r high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=3D31 _______________________________________________ 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 -------------------------------------------------------------------------= ------------- This message and any files transmitted with it are confidential and inten= ded solely=20 for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 or privilege is waived or lost by any wrong transmission.=20 If you have received this message in error, please immediately destroy it= =20and kindly=20 notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 part of this message if you are not the intended recipient. Opinions, con= clusions and=20 other information in this message that do not relate to the official busi= ness of=20 Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |
|
From: Rob <ro...@us...> - 2002-07-30 13:58:06
|
It appears that http://www.vasm.org has fallen by the wayside. There is only a single page there referring readers to an alternative assembler project. Rob > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Santiago > Palmier Campos > Sent: Tuesday, July 30, 2002 7:01 AM > To: dev...@li... > Subject: RE: [Dev-C++] RE: Kylix 3 > > > Hi *, > > We are talking about helping in the development, bug-fixing tasks and to > extend IDE functionality, not only IDE speed. > While talking about "a drawback to advance faster" we are talking about > these tasks, not only 'the speed the IDE runs at'... > > Think about this, AFAIK some features (like code completion or syntax > highlighting based on custom/personalized code libraries) DO need > some speed > from the IDE ;o) > > BTW, C++ is also a high level programming language (as VB or > Delphi), so you > can write pure C++ code without worrying about low level > programming details > and achieve really fast & small programs... (Just take a look at point 4 > from this interview to Bjarne Stroustrup > http://www.research.att.com/~bs/nantes-interview-english.html =8-O ) > > Anyway, it was only a suggestion... I like Dev-C++, but I'd like > it more and > more if it was written in C++ ;oD > > Regards, Santy > PS: For those really interested in writing assembler code, there's Visual > Assembler IDE also available at http://www.vasm.orm enjoy it! };oP > > -----Original Message----- > From: Jorge Alzate [mailto:jor...@ep...] > Sent: Tuesday, July 30, 2002 1:32 PM > To: dev...@li... > Subject: [Dev-C++] RE: Kylix 3 > > > Cristian Teodorescu escribió: > > Abhijit Shylanath wrote: > > >>><Ioannis Vranos words> > >>>Well a C++ version of Dev-C++ would have much fewer bugs >since we > >>>all would be able to correct them and why not addd additiona, > >>>>facilities. </Ioannis Vranos words> > >>> > >>>I think Ioannis is right... It is not only that we could help to > >>>linux version but we could help to windoze version; so we all can > >>>improve Dev-C++ > >>> > >>> > >>development > >> > >> > >>>adding functionalities, fixin bugs, etc... > >>> > >>>It's just my vote for "Ioannis campaign for president" anyway... ;oP > >>> > >>>Best regards, Santy > >>> > >>> > >> > >>I dunno, it seems to me that porting Dev to C++ from Delphi would be > almost > >>like writing a whole new IDE form the ground up... which *is* an idea, > >>but is pointless since Dev's come so far. > >> > >Yes but sometimes we need a drawback to adavced faster and i think i it > >will be ported to c++ more fast that anybody think. > >Don't forget all here are c++ programers and if only 10% will help .... > > I Don't think so, Really matters SPEED in a IDE like in games?, In other > words: Languages like VB or Delphi are more than appropiated for > GUI design > in the opposite side those are futile, and then C++ and assembler they > enter, if you like of real speed maybe you want to rewrite Dev-C++ in > assembler :) > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board for > high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code1 > _______________________________________________ > 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 > ------------------------------------------------------------------ > -------------------- > This message and any files transmitted with it are confidential > and intended solely > for the use of the individual or entity to whom they are > addressed. No confidentiality > or privilege is waived or lost by any wrong transmission. > If you have received this message in error, please immediately > destroy it and kindly > notify the sender by reply email. > You must not, directly or indirectly, use, disclose, distribute, > print, or copy any > part of this message if you are not the intended recipient. > Opinions, conclusions and > other information in this message that do not relate to the > official business of > Ydilo Advanced Voice Solutions, S.A. shall be understood as > neither given nor endorsed by it. > ------------------------------------------------------------------ > -------------------- > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code1 > _______________________________________________ > 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: Yeoh H. <ye...@ye...> - 2002-07-30 13:51:38
|
----- Original Message ----- From: Met...@ao... To: dev...@li... Sent: Tuesday, July 30, 2002 8:50 PM Subject: [Dev-C++] IntCommonControlsEx linking problem ! Hi there Just downloaded the ToolTipCtrl C++ class from codebytes to get some "bubble help" on my App. It needs commctrl.h and _WIN32_IE defined on a higher value of 0x300. All is OK by this side But then, there is a linker error saying that it is impossible to link the definition of InitCommonControlsEx() function to any piece of object code. Did I miss something ? Isn't it included in libcommctl32.a, in the lib directory ? Kind regards -- Seb Hi, >Isn't it included in libcommctl32.a, in the lib directory ? The file name is libcomctl32.a. In Project Options, have you included this? -lcomctl32 Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ Free Downloads at http://www.yeohhs.com ICT eBooks by Yeoh HS ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ |
|
From: Rob <ro...@us...> - 2002-07-30 13:35:12
|
> >Yes but sometimes we need a drawback to adavced faster and i think i it > >will be ported to c++ more fast that anybody think. > >Don't forget all here are c++ programers and if only 10% will help .... > > I Don't think so, Really matters SPEED in a IDE like in games?, > In other words: Languages like VB or Delphi are more than > appropiated for GUI design in the opposite side those are futile, > and then C++ and assembler they enter, if you like of real speed > maybe you want to rewrite Dev-C++ in assembler :) > I took him to mean "speed of development" as in it not being a protracted development experiment due to the number of people who might be able to contribute. Development of an IDE in C++ may actually be a pretty good project for students and enthusiasts of the language, and some might really enjoy using and IDE they helped create in some way. So there could be some benefit at least with regard to enjoyment of the project. I doubt my C++ skills are adequately developed to make a significant contribution to such a project yet. However, if I were to follow such a project from the start, this might change rapidly. So from a learning perspective, I'm intrigued. Rob Andrews http://uselesspython.com |
|
From: cim <ci...@ng...> - 2002-07-30 13:30:36
|
Anyone could explain me why for every function included in "winsock2.h" = compiler says "[Linker error] undefined reference to 'FUNCTION_NAME @ = INT'" (for example, for the function "connect" the message is =20 "[Linker error] undefined reference to `connect @ 12'"). How can i solve this problem? Thanks, Max |
|
From: Daniel G. <sp...@ho...> - 2002-07-30 13:28:55
|
Can an object pass itself into the function it is calling?
void DevModeDlg::OnSysCommand( UINT ID, LPARAM LParameter )
{
try
{
DoOnSysCommandWork();
}
catch ( Exception &Obj )
{
Obj.SetErrorLog( &Obj ) // <--- Here
}
}
where SetErrorLog
void Exception::SetErrorLog( Exception &Obj )
{
//... create a text file and put in data contained in Obj.
}
I tried 'this' but b/c I'm inside another class' function it tries to pass
that object (DevModeDlg)
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
|
|
From: Vaclav K. <vk...@se...> - 2002-07-30 13:25:12
|
Hello friends, I have the same problem as Mac Reiter in message #9106970. The debugging= seems doesn't work. Can anybody help where I do the mistake or where the= problem is? Thank you very much, have a nice day and with best regards, Vaclav Kremen. ----------------------------------------------------------------------------= -- FROM: Mac Reiter DATE: 07/05/2002 08:42:47 SUBJECT: RE: [Dev-C++] Debugging with 4.9.4.1 I hate to ask again, but I'm about to get sent off on a business trip and I would like to play with Dev-C++ during some of the sleepless hours between the end of official business and when I am able to get to sleep. Why don't breakpoints seem to work in 4.9.4.1? I have turned on debugging myself (first project), and I have also allowed the IDE to turn on debugging and rebuild (second project, when I pressed Debug on a non-debuggable build). I get exactly the same results in both cases. In both cases, the breakpoints are claimed to be invalid, and the debugger terminates the program. Mac At 02:00 PM 7/4/02 -0500, Mac Reiter wrote: >I just installed Dev-C++ on a win2k box with no other c++ compiler. >Installation was to the default directory, C:\Dev-C++\. I made a new >"Windows Application" Project, and saved all the files. Then I went to >Compiler Options, selected the Linker tab, and checked the bold blue line >for including debugging information. I did a Rebuild All, set a= breakpoint >inside WinMain, and hit Debug. Watching the output window down at the >bottom, I got a complaint about the breakpoint being invalid. > >I have tried it with breakpoints in different places. I always get the >same result. I have tried it with different numbers of breakpoints, and= it >always knows how many breakpoints I have set, but they are all claimed to >be invalid. > >The program runs properly. If I don't set any breakpoints, it even runs= in >the debugger. But since I can't ever set any breakpoints, I can't get the >program to stop so that I can attempt to look at any of the variables. > >I watched the command lines being sent to the compiler, and "-g3" was >included during the compilation of main.cpp into main.o, and also during >the linking of main.o into FirstDevCpp.exe (the name of my test project). > >I feel certain that I have missed something, probably something obvious, >but I can't seem to find it in the dialogs. > >Any help would be appreciated, because the IDE is not much use to me >without the debugger. Thanks, >Mac >- > _____________________________ /"\ > Mac Reiter \ / ASCII Ribbon Campaign > Nomadics, Inc. X Against HTML Mail > <EMAIL: PROTECTED> / \ (To join the campaign, simply use > this in your signature.) > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Caffeinated soap. No kidding. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list ><EMAIL: PROTECTED> >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > - _____________________________ /"\ Mac Reiter \ / ASCII Ribbon Campaign Nomadics, Inc. X Against HTML Mail <EMAIL: PROTECTED> / \ (To join the campaign, simply use this in your signature.) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Bringing you mounds of caffeinated joy. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list <EMAIL: PROTECTED> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: <Met...@ao...> - 2002-07-30 12:50:12
|
Hi there Just downloaded the ToolTipCtrl C++ class from codebytes to get some "bubble help" on my App. It needs commctrl.h and _WIN32_IE defined on a higher value of 0x300. All is OK by this side But then, there is a linker error saying that it is impossible to link the definition of InitCommonControlsEx() function to any piece of object code. Did I miss something ? Isn't it included in libcommctl32.a, in the lib directory ? Kind regards -- Seb |
|
From: Ioannis V. <no...@ho...> - 2002-07-30 12:09:55
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Jorge Alzate > Sent: Tuesday, July 30, 2002 2:32 PM > To: dev...@li... > Subject: [Dev-C++] RE: Kylix 3 > > I Don't think so, Really matters SPEED in a IDE like in > games?, In other words: Languages like VB or Delphi are more > than appropiated for GUI design in the opposite side those > are futile, and then C++ and assembler they enter, if you > like of real speed maybe you want to rewrite Dev-C++ in assembler :) Yes, but when you get a general protection fault of the IDE in address 0000xfff80000 because of some invalid memory usage, almost noone from the list can detect and fix the problem (since we are mainly C/C++ programmers). If it was written in C++ and thus we had a clue of what is going on in the code, Dev-C++ would be definately more stable. The main problem is that its authors are mainly Pascal/Delphi programmers. :) Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Santiago P. C. <San...@yd...> - 2002-07-30 12:01:42
|
Hi *, We are talking about helping in the development, bug-fixing tasks and to extend IDE functionality, not only IDE speed. While talking about "a drawback to advance faster" we are talking about these tasks, not only 'the speed the IDE runs at'... Think about this, AFAIK some features (like code completion or syntax highlighting based on custom/personalized code libraries) DO need some sp= eed from the IDE ;o) BTW, C++ is also a high level programming language (as VB or Delphi), so = you can write pure C++ code without worrying about low level programming deta= ils and achieve really fast & small programs... (Just take a look at point 4 from this interview to Bjarne Stroustrup http://www.research.att.com/~bs/nantes-interview-english.html =3D8-O ) Anyway, it was only a suggestion... I like Dev-C++, but I'd like it more = and more if it was written in C++ ;oD Regards, Santy PS: For those really interested in writing assembler code, there's Visual= Assembler IDE also available at http://www.vasm.orm enjoy it! };oP -----Original Message----- From: Jorge Alzate [mailto:jor...@ep...]=20 Sent: Tuesday, July 30, 2002 1:32 PM To: dev...@li... Subject: [Dev-C++] RE: Kylix 3 Cristian Teodorescu escribi=F3: Abhijit Shylanath wrote: >>><Ioannis Vranos words> >>>Well a C++ version of Dev-C++ would have much fewer bugs >since we=20 >>>all would be able to correct them and why not addd additiona,=20 >>>>facilities. </Ioannis Vranos words> >>> >>>I think Ioannis is right... It is not only that we could help to=20 >>>linux version but we could help to windoze version; so we all can=20 >>>improve Dev-C++ >>>=20 >>> >>development >>=20 >> >>>adding functionalities, fixin bugs, etc... >>> >>>It's just my vote for "Ioannis campaign for president" anyway... ;oP >>> >>>Best regards, Santy >>>=20 >>> >> >>I dunno, it seems to me that porting Dev to C++ from Delphi would be almost >>like writing a whole new IDE form the ground up... which *is* an idea, = >>but is pointless since Dev's come so far. >> >Yes but sometimes we need a drawback to adavced faster and i think i it >will be ported to c++ more fast that anybody think. >Don't forget all here are c++ programers and if only 10% will help .... I Don't think so, Really matters SPEED in a IDE like in games?, In other words: Languages like VB or Delphi are more than appropiated for GUI desi= gn in the opposite side those are futile, and then C++ and assembler they enter, if you like of real speed maybe you want to rewrite Dev-C++ in assembler :) ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board fo= r high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code1 _______________________________________________ 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 -------------------------------------------------------------------------= ------------- This message and any files transmitted with it are confidential and inten= ded solely=20 for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 or privilege is waived or lost by any wrong transmission.=20 If you have received this message in error, please immediately destroy it= =20and kindly=20 notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 part of this message if you are not the intended recipient. Opinions, con= clusions and=20 other information in this message that do not relate to the official busi= ness of=20 Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |
|
From: Jorge A. <jor...@ep...> - 2002-07-30 11:29:40
|
Cristian Teodorescu escribió: Abhijit Shylanath wrote: >>><Ioannis Vranos words> >>>Well a C++ version of Dev-C++ would have much fewer bugs >since we all >>>would be able to correct them and why not addd additiona, >facilities. >>></Ioannis Vranos words> >>> >>>I think Ioannis is right... It is not only that we could help to linux >>>version but >>>we could help to windoze version; so we all can improve Dev-C++ >>> >>> >>development >> >> >>>adding functionalities, fixin bugs, etc... >>> >>>It's just my vote for "Ioannis campaign for president" anyway... ;oP >>> >>>Best regards, Santy >>> >>> >> >>I dunno, it seems to me that porting Dev to C++ from Delphi would be almost >>like writing a whole new IDE form the ground up... which *is* an idea, but >>is pointless since Dev's come so far. >> >Yes but sometimes we need a drawback to adavced faster and i think i it >will be ported to c++ more fast that anybody think. >Don't forget all here are c++ programers and if only 10% will help .... I Don't think so, Really matters SPEED in a IDE like in games?, In other words: Languages like VB or Delphi are more than appropiated for GUI design in the opposite side those are futile, and then C++ and assembler they enter, if you like of real speed maybe you want to rewrite Dev-C++ in assembler :) |
|
From: Ioannis V. <no...@ho...> - 2002-07-30 08:46:40
|
sizeof() reports the total size of the array when it is used in the
scope of its definition.
When you use an array as an argument of a function in reality it is not
an array but a pointer.
consider the following example:
void makea(char array[100])
{
while(*array)
*array++='a';
}
int main()
{
char somearray[500];
for(unsigned long i=0; i<sizeof(somearray)-2; i++)
somearray[i]='s';
somearray[sizeof(somearray)-1]='\0';
makea(somearray);
}
void makea(char array[100]) is equivallent to void makea(char *array)
and void makea(char array[])
So sizeof(array) when applied inside the makea() is equivallent to
sizeof(char *).
array there is char *array.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
|
|
From: Santiago P. C. <San...@yd...> - 2002-07-30 08:22:53
|
Hi Ramana,
Please have in mind that you are managing 'strings' (let's say: objects of
string class) and not char arrays...
Your assertion should be right ONLY if you were managing char arrays, but
you are handling string objects.
Please have a look at the following code (compile & run it):
<CODE>
#include <iostream>
#include <string>
int main(int argc, char* argv[])
{
using std::cout;
string myVariable1 = "Some content";
string myVariable2 = "Some different content";
myVariable1.resize( myVariable2.size() );
cout << "Variable No. 1 content: " << myVariable1 << endl;
cout << "Variable No. 2 content: " << myVariable2 << endl;
// The size of the string object may be different than the number of
chars stored
if ( myVariable1.size() != sizeof(myVariable1) )
{
cout << "This is an error!!!" << endl;
}
return 0;
}
</CODE>
Just take a closer look to string methods (like size(), length() and so on)
and use them instead of sizeof !!! ;o)
Hope this helps!!!
Regards, Santy
-----Original Message-----
From: Ramana Kumar [mailto:ra...@my...]
Sent: Tuesday, July 30, 2002 9:40 AM
To: C++
Subject: [Dev-C++] sizeof array
I have the feeling that I am missing something fundamental in my
understanding of the sizeof operator or multidimensional arrays when I get
these results:
--------snip----------
String Substitutions[][2] = //String is a user-defined class
{
"I'M","I AM",
"YOU'RE","YOU ARE",
"HE'S","HE IS",
"SHE'S","SHE IS",
"IT'S","IT IS",
"WE'RE","WE ARE",
"THEY'RE","THEY ARE"
};
bool SomeFunc(String s)
{
s.Substitute(Substitutions); //pass multidimensional array to member
function }
--------snip----------
--------snip----------
void String::Substitute(String sub[][2]) //passed Substitutions here {
String ss[][2] = //exact replica of Substitutions {
"I'M","I AM",
"YOU'RE","YOU ARE",
"HE'S","HE IS",
"SHE'S","SHE IS",
"IT'S","IT IS",
"WE'RE","WE ARE",
"THEY'RE","THEY ARE"
};
if(sizeof(ss)!=sizeof(sub)) //sizeof identical arrays
{
MessageBox(NULL,"Error","Error",MB_OK);
}
}
--------snip----------
Compiles fine. The MessageBox always appears when running, indicating that
the size of those two identical arrays are different! Obviously something to
do with pointers and passing arrays to functions or something like this is
messing up the operation of the sizeof operator. Anyone have any ideas?
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board for
high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
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
--------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. No confidentiality
or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it and kindly
notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or copy any
part of this message if you are not the intended recipient. Opinions, conclusions and
other information in this message that do not relate to the official business of
Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it.
--------------------------------------------------------------------------------------
|
|
From: Teodorescu C. <te...@xt...> - 2002-07-30 08:04:21
|
Daniel Glenfield wrote:
>
> Hi everyone,
> I want to create a basic exception class so my constructors can throw
> objects if they fail. Constructors will be the only things that throw
> exceptions, but the class will most likely be expanded in the future
> so other functions can throw.
>
> What do I need to include in an exception class? I think an error log
> text file would be good (I've done them before using ofstream objects)
> but what data members should the file have? I've not done these before
> so any suggestions would be great.
this is my exception class and usually i have a function that write
exception and time stamp into a log file
class Exception{
int no /*<0*/
string msg /*Optional */
string GetMessage(int no);//get the message for that exception from
a file .... use when multiple languages
string function /* only in debug mode function who throw exception */
}
how to use it
function dummy (int x )
{
if (x<0){
Exception x;
x.no=-10;
x.function=dummy
throw x;
};
}
function dummy2 ( ...)
{
try {
dummy(-1)
}catch(Exception ex){
//do clean up
//log and ...
};
};
if you use it in classes constructor
....
try {
//here constructor is called;
my_class a;
}catch(Exception x)
{
};
Don't try this.
Don't throw exception in constructor;
I ussualy use a tricky way
My class have function init who throw exception.
and if this fail ... cleanup and stuff.
>
> Daniel
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> 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
|