dev-cpp-users Mailing List for Dev-C++
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
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1
(4) |
2
(8) |
3
(8) |
4
(1) |
5
(12) |
6
(11) |
7
(6) |
8
(7) |
9
(7) |
10
(8) |
11
(5) |
12
(12) |
13
(9) |
14
(2) |
15
(1) |
16
(17) |
17
(10) |
18
(16) |
19
(17) |
20
(14) |
21
|
22
(8) |
23
(5) |
24
(6) |
25
(14) |
26
(5) |
27
(8) |
28
(12) |
29
(5) |
30
(14) |
31
(7) |
|
|
|
|
From: <A_B...@gm...> - 2004-08-31 23:48:20
|
Hi, how can I detect if the Mediaplayer(2) is playing or is stoped ??? I start playing a media file with ShellExecute(0, "Open", "filename.mp3", "", "", 1); and get the handle of the Mediaplayer with FindWindow("Media Player 2", NULL); Now I whant to close the Mediaplayer or load another media file, if the currend media file has stopped playing... Any suggestions, maybe with the SendMessage() API-function ??? tnx, Acki |
From: Raymond B. <ra...@ya...> - 2004-08-31 19:09:54
|
Hi all, i am just wondering about some syntax i see infrequently in certain programs/header files of the form: __imp__ or __int__ usually prefixing a variable or function name. I would like to know what these mean and/or do. If anyone could also provide a site or point me to some additional information that would be very helpful. Thanks, Raymond _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush |
From: Per W. <pw...@ia...> - 2004-08-31 15:15:37
|
You could use a UUID - it is guaranteed to be unique even if multiple computers connect and insert at the same time. However, a lot of databases can generate your ID (or at least a sequential numeric value) themselves. /Per W On Tue, 31 Aug 2004, kractor wrote: > greetings, i'm pretty much completely new to C++ programming so i'll > apologize in advance if this is a silly question ... > > working on a small app for myself, and a portion of that app requires > the generation of an "id" string that will be used in a database lookup > table. i've been trying to think of how this might best be handled, and > the idea that seems to make the most sense so far is to have the program > generate a "random" string of alpha-numeric characters. > > was wondering if anyone might be able to point me towards any > documentation that might help me with this, or had any better ideas / > advice they could give ... would be greatly appreciated. > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: kractor <bar...@co...> - 2004-08-31 14:48:18
|
greetings, i'm pretty much completely new to C++ programming so i'll apologize in advance if this is a silly question ... working on a small app for myself, and a portion of that app requires the generation of an "id" string that will be used in a database lookup table. i've been trying to think of how this might best be handled, and the idea that seems to make the most sense so far is to have the program generate a "random" string of alpha-numeric characters. was wondering if anyone might be able to point me towards any documentation that might help me with this, or had any better ideas / advice they could give ... would be greatly appreciated. |
From: Per W. <pw...@ia...> - 2004-08-31 13:27:11
|
libwinnm.a and is liked with -lwinnm /Per W On Tue, 31 Aug 2004, Andre Macario Barros wrote: > > Dear Users, > > I need to link in my project file one lib called winmm.lib (Windows > Multimedia Library). > > -Does Mingw offer some equivalent? What is its name and where can I > download it? > -If don=B4t do you know if it works I copy this lib from M |
From: Andre M. B. <ab...@cp...> - 2004-08-31 12:52:02
|
Dear Users, I need to link in my project file one lib called winmm.lib (Windows Multimedia Library).=20 -Does Mingw offer some equivalent? What is its name and where can I=20 download it? -If don=B4t do you know if it works I copy this lib from MSVC++ and ad= d it in my dev-cpp lib directory?=20 Regards Andre |
From: Per W. <pw...@ia...> - 2004-08-31 06:05:15
|
Have a look at the wxWidgets framework. It contains a lot of sample programs handling pictures. /Per W On Mon, 30 Aug 2004, Jingles Puffs wrote: > Well, to start it off, I'm pretty new to DevCpp and > decided to learn a bit of the Basics before I really > go onto DLLs and the sort. > But I really can't figure out how you view Images.. If > somebody could help that'd be great.. > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Daniel K. O. <dan...@ya...> - 2004-08-30 21:47:47
|
Danny Angelo Carminati Grein wrote: >But one developer is saying that it think that GCC may cause some >strange crashes or failures for a official release product (...). > >Any comments to help me with this? > > Why does he think that GCC can cause strange crashes or failures? Does he have some experience in detecting compilation bugs from GCC? The GCC/MinGW developers would be interested to know about sample programs that are compiled wrong by GCC, so they can fix it. But if somebody just says "it may break" without futher details, he's only spreading FUD. (Of course, if you start playing with some optimization flags without reading the docs first, you'll end up shooting yourself in the foot.) Daniel K. O. |
From: Jingles P. <jin...@ya...> - 2004-08-30 21:18:55
|
Well, to start it off, I'm pretty new to DevCpp and decided to learn a bit of the Basics before I really go onto DLLs and the sort. But I really can't figure out how you view Images.. If somebody could help that'd be great.. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |
From: Danny A. C. G. <val...@bi...> - 2004-08-30 19:30:33
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, im having some problems here to defend GCC in this issue. We here are=20 developing a comercial game, and Im trying to use GCC on final product=20 release. But one developer is saying that it think that GCC may cause some= =20 strange crashes or failures for a official release product , that Visual C+= +=20 doesnt... =20 Any comments to help me with this? Thanks =2D --=20 Danny Angelo Carminati Grein Diretor de T.I. Bitcrafters Inc. =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBM01U3bTZQYPv0SMRAn22AJ9xhQG5rPeZqu5B7g9VvtkbmWyGyQCffmrM IbFosTelhnEZJWLZ8Iw9Mmo=3D =3DQFoT =2D----END PGP SIGNATURE----- |
From: Geoff B. <Geo...@Vc...> - 2004-08-30 16:29:13
|
I installed dev-cpp onto a computer (fresh install of version 4.9.9.0), then I went to perform the updates of the packages. When doing this I selected several of the items, and choose the PlanetMirror as the server. Upon restarting Dev-cpp and checking for available updates again I notice that the updates I have already installed (packman shows them as installed) are reappearing as available updates. This only happens on this one computer as the other computers I have dev-cpp on work correctly. Has anyone else seen similar problems or does anyone know a solution to this? > Thanks > > Geoff Baker > Engineering Technologist > VCom Inc. > 150 Cardinal Place, Saskatoon Sask. Canada S7L 6H7 > Phone: (306) 955-7075 Ext 489 Fax: (306) 955-9919 > Web Page: <http://www.vcom.com/> > |
From: Per W. <pw...@ia...> - 2004-08-30 13:26:28
|
Which make it ok to develop DX apps with MinGW as long as the DX SDK is individually downloaded from M$. /Per W On Mon, 30 Aug 2004, Michal Molhanec wrote: > OROSZI Bal=E1zs wrote: > > Thanks for the detailed answer! > > I still don't know exactly how MinGW violates the license, but I asked > > the writer on the forum what he meant. > > That's quite clear, isn't it? > From EULA: > " > .... > Microsoft grants to you as an individual, a personal, nonexclusive > license to make and use copies of the Software for the purposes of > designing, developing, and testing your software product(s), provided > that you are the only individual using the Software. > .... > 4.=09RESERVATION OF RIGHTS AND OWNERSHIP. Microsoft reserves all rights > not expressly granted to you in this EULA. The Software is protected by > copyright and other intellectual property laws and treaties. Microsoft > or its suppliers own the title, copyright, and other intellectual > property rights in the Software. The Software is licensed, not sold. > ...." > > MS doesn't grant you rights to distribute header files. > > -- > Regards, > Michal > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Michal M. <mi...@mo...> - 2004-08-30 12:57:03
|
OROSZI Balázs wrote: > Thanks for the detailed answer! > I still don't know exactly how MinGW violates the license, but I asked > the writer on the forum what he meant. That's quite clear, isn't it? From EULA: " .... Microsoft grants to you as an individual, a personal, nonexclusive license to make and use copies of the Software for the purposes of designing, developing, and testing your software product(s), provided that you are the only individual using the Software. .... 4. RESERVATION OF RIGHTS AND OWNERSHIP. Microsoft reserves all rights not expressly granted to you in this EULA. The Software is protected by copyright and other intellectual property laws and treaties. Microsoft or its suppliers own the title, copyright, and other intellectual property rights in the Software. The Software is licensed, not sold. ...." MS doesn't grant you rights to distribute header files. -- Regards, Michal |
From: <or...@vp...> - 2004-08-30 12:28:31
|
Thanks for the detailed answer! I still don't know exactly how MinGW violates the license, but I asked=20 the writer on the forum what he meant. -- Greetings, Bal=E1zs Per Westermark wrote: > Just to clarify: I haven't read through the specific EULA for DX and > compared with the usage in the DX9 devpack you mention, since I have > personally only used OpenGL with MinGW and have only done DX with VC++. >=20 > The most probablematic part about use of 3rd-party libraries is normall= y > the required header files describing data structures and functions. > The developers either have to reverse-engineer the library to create > new header files - or just take a chance and make illegal copies of > the original header files. >=20 > This is a lot similar to the use of MFC in non-M$ compilers. When I use= d > Borland, I had to use their OWL framework since they hadn't licenced th= e > SDK needed for MFC. Watcom on the other hand was supplied with MFC > support. >=20 > In the case of MFC it is an "optional glue" layer above Windows - > everything is possiblle to do directly using the native Win32 API. Even= if > DX is separately installable, I would not call it "optional glue", sinc= e > it isn't a layer on top of the GDI etc but supplies an alternative API > with performance and function not possible with direct Win32 API calls.= An > assumption then would be that M$ either should _sell_ DX as an add-on f= or > "gamers" (and sell SDK to the developers) or be very careful about > attempting to lock down which software tools that may be used. >=20 > In the end, whatever we do we always have to take chances/risks. How ma= ny > full-time developers can honestly say that they have managed a full > woring day without unknowingly writing a code or two related to a more = or > less stupid software patent granted somewhere in the world? >=20 > About the above problem, there is also the fact that laws are different > around the world. At some places reverse engineering is allowed. Also, = the > laws often differ between commercial projects and private and/or inhous= e > projects. When reading an EULA, there is often a clause saying that if = one > or more claims are not legally allowed, the EULA should have that claus= e > adjusted according to current law but in other parts remain. This makes > the same EULA mean different things in different countries depending on > which clauses that should be weakened or removed... >=20 > /Per W |
From: Per W. <pw...@ia...> - 2004-08-30 10:59:10
|
Just to clarify: I haven't read through the specific EULA for DX and compared with the usage in the DX9 devpack you mention, since I have personally only used OpenGL with MinGW and have only done DX with VC++. The most probablematic part about use of 3rd-party libraries is normally the required header files describing data structures and functions. The developers either have to reverse-engineer the library to create new header files - or just take a chance and make illegal copies of the original header files. This is a lot similar to the use of MFC in non-M$ compilers. When I used Borland, I had to use their OWL framework since they hadn't licenced the SDK needed for MFC. Watcom on the other hand was supplied with MFC support. In the case of MFC it is an "optional glue" layer above Windows - everything is possiblle to do directly using the native Win32 API. Even if DX is separately installable, I would not call it "optional glue", since it isn't a layer on top of the GDI etc but supplies an alternative API with performance and function not possible with direct Win32 API calls. An assumption then would be that M$ either should _sell_ DX as an add-on for "gamers" (and sell SDK to the developers) or be very careful about attempting to lock down which software tools that may be used. In the end, whatever we do we always have to take chances/risks. How many full-time developers can honestly say that they have managed a full woring day without unknowingly writing a code or two related to a more or less stupid software patent granted somewhere in the world? About the above problem, there is also the fact that laws are different around the world. At some places reverse engineering is allowed. Also, the laws often differ between commercial projects and private and/or inhouse projects. When reading an EULA, there is often a clause saying that if one or more claims are not legally allowed, the EULA should have that clause adjusted according to current law but in other parts remain. This makes the same EULA mean different things in different countries depending on which clauses that should be weakened or removed... /Per W On Mon, 30 Aug 2004, OROSZI Bal=E1zs wrote: > Per Westermark wrote: > > Not impossible. A lot of EULAs from M$ are not so nice. One other examp= le: > > You may not benchmark performance of the .NET system and publish the > > results without a written acknowledge from M$... > > > > However, in case there is a problem, I don't think it is something that= M$ > > is interested in actually do something about. A prohibition to use MinG= W > > to build DX applications would just put more fire on the Monopoly debat= e > > and that is definitely not to the advantage of M$. > > Thank |
From: A. K. <kli...@ad...> - 2004-08-30 10:24:55
|
I upgraded from 4.9.8.10 to 4.9.9.0 and now I can't compile anything: it seems that g++.exe is called from the wrong directory: Compiler: Default compiler Building Makefile: "D:\lang\projects\PyScript\Makefile.win" Executing make... make.exe -f "D:\lang\projects\PyScript\Makefile.win" all g++.exe -c PyScript.cpp -o PyScript.o -I"d:/lang/Dev-Cpp/include/c++/3.3.1" -I"d:/lang/Dev-Cpp/include/c++/3.3.1/mingw32" -I"d:/lang/Dev-Cpp/include/c++/3.3.1/backward" -I"d:/lang/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"d:/lang/Dev-Cpp/include" -DBUILDING_DLL=1 -ansi -mwindows -fmessage-length=0 g++.exe: PyScript.cpp: No such file or directory g++.exe: no input files make.exe: *** [PyScript.o] Error 1 Execution terminated I then uninstalled Dev-C++ completely and deleted its config files in Documents and Settings too, then reinstalled: same problem. The "no input files" happens with each and any project I try but the .cpp files do exist. Any suggestions on how to tell dev-c++ the proper project directory (d:\lang\projects\PyScript in this case) and making it the current working directory? Or any suggestions what other problem could give me that error? Alex |
From: <or...@vp...> - 2004-08-30 10:15:40
|
Per Westermark wrote: > Not impossible. A lot of EULAs from M$ are not so nice. One other examp= le: > You may not benchmark performance of the .NET system and publish the > results without a written acknowledge from M$... >=20 > However, in case there is a problem, I don't think it is something that= M$ > is interested in actually do something about. A prohibition to use MinG= W > to build DX applications would just put more fire on the Monopoly debat= e > and that is definitely not to the advantage of M$. Thanks for the swift answer! So that means were are at the "mercy" of MS = for now. This is sad :( At least this is yet another reason to go SDL + OpenGL... -- Greetings, Bal=E1zs |
From: Per W. <pw...@ia...> - 2004-08-30 09:47:01
|
Not impossible. A lot of EULAs from M$ are not so nice. One other example: You may not benchmark performance of the .NET system and publish the results without a written acknowledge from M$... However, in case there is a problem, I don't think it is something that M$ is interested in actually do something about. A prohibition to use MinGW to build DX applications would just put more fire on the Monopoly debate and that is definitely not to the advantage of M$. /Per W On Mon, 30 Aug 2004, [ISO-8859-2] OROSZI Bal=E1zs wrote: > Hi! > > On a forum, I read a quite shocking writing by one of the forum members, = which stated that > using DirectX with MinGW is a violation of the DX EULA. What??? That make= s the DirectX9 > devpak illegal? Here's what he wrote exactly: > > " > Using DirectX under MinGW is a clear and direct violation of the EULA tha= t is applied to > DirectX. Unless a wrapper is used, when the gcc ( in its current state ) = for MinGW links > to DirectX, it must redistribute parts of DirectX that are not legally re= distributable. > Second |
From: <or...@vp...> - 2004-08-30 09:29:30
|
Hi! On a forum, I read a quite shocking writing by one of the forum members, = which stated that=20 using DirectX with MinGW is a violation of the DX EULA. What??? That make= s the DirectX9=20 devpak illegal? Here's what he wrote exactly: " Using DirectX under MinGW is a clear and direct violation of the EULA tha= t is applied to=20 DirectX. Unless a wrapper is used, when the gcc ( in its current state ) = for MinGW links=20 to DirectX, it must redistribute parts of DirectX that are not legally re= distributable.=20 Secondly, the DirectX libraries must be reverse engineered, which also vi= olates the=20 DirectX EULA. " Is this true? -- Greetings, Bal=E1zs |
From: Roger F. <ra...@ha...> - 2004-08-30 01:16:11
|
Aloha from Honolulu, I got "Sams Teach Yourself C++..." at CompUSA, "The Complete=20 Reference..." at Barnes & Noble Booksellers, and "Effective C++..." at a=20 used-books store. If those aren't nearby, try Amazon.com or perhaps an=20 on campus bookstore at your local college, often they'll have used editio= ns. As for not being able to learn it in 24 hours, that's just the=20 title. The book is organized into 24 lessons. I've studied them one at=20 a time and run through the codes. Its taken me about 3 or 4 hours per=20 lesson. Some are more complex than others. I look things up in other=20 books when something is not clear and I'm not concered about how long it=20 takes, just how well I understand the subject matter. When something is=20 still puzzling me after looking at my books, I email this users list or=20 look around at other web sites--type C++ in the search engine and see=20 where it leads. The book by Bjarne Stroustrup is also at Barnes & Noble, but it was=20 $5 more than "The Complete Reference...", its copyright date was 2002=20 (vs 2003), "The Complete Reference..." has more pages, and the author of=20 "The Complete Reference..." served on the ANSI/ISO committee that=20 published the standard. Don't get me wrong; as soon as I can part with=20 another $50 chunk on a book, I'll add Stroustrup to my library. But=20 when spending that much, I examined both books thoroughly before =20 making my choice. Happy Programming, Roger S=E9rgio Neves wrote: >Where do I find this book? Could you send me or give me a link to downlo= ad >it please? >Thanks > >S=E9rgio Neves >----- Original Message ----- >From: Roger Furer <ra...@ha...> >To: DevC++ Users <Dev...@li...> >Sent: Friday, August 27, 2004 8:53 AM >Subject: Re: [Dev-C++] A question > > >Aloha from Honolulu, > I've been using "Sams Teach Yourself C++ In 24 Hours" by Jesse >Liberty (Sams Publishing) . I also have "C++ The Complete Reference" by >Herbert Schildt (McGraw-Hill/Osborne) . Teach Yourself... came with a >CD containing the source code for all the lessons as well as the DevC++ >compiler. I found the lessons to be easy to understand. I like having >the Reference though, so I can look up a specific word that the lesson >book may not have been clear about. Like having a dictionary on hand >while reading a textbook. I also found a book called "Effective C++ >Second Edition" by Scott Meyers (Addison-Wesley). This is more >advanced, but describes how and why things happen as they do, because of >language specifications and compiler implimentation. It provides many >examples of how not to do things, and why not; as well as how to do >things and why. >Hope this helps, >Roger > >S=E9rgio Neves wrote: > > =20 > >>Hello, >>I'm writing to ask if somebody knows a C tutorial to start learning >>this language, which teach me to create simple programs running on ms. >>dos and programs running on windows. If somebody knows, could you tell >>me please? >> >>Best regards >> >>S=E9rgio Neves >> =20 >> > > > > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >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 > > > > =20 > |
From: Per W. <pw...@ia...> - 2004-08-29 22:07:39
|
Just a short reminder. Everyone is allowed so ask questions on the list, as long as the questions is reasonably on-topic. However, it is customary on most mailing lists to also give some feedback to received answers. Some reasons for feedback: - To let responders know if you read their answers. - To let responders know if they understood the question correctly - or you understood the answer. - To let other readers know when a problem have been solved, so they don't have to continue adding more or less redundant answers. - To let future readers of the archive know if the question got an acceptable answer, or if they should continue to google somewhere else. Almost always, giving feedback taks less time than what was spent on giving the answers to your original questions. Feel free to spend some time on a response now and then. Id doesn't hurt you, and is good netiquette :) /Per W On Sun, 29 Aug 2004, Noorez Kassam wrote: > for functions in dlls, do I need to use the __declspec (dllexport) for > both the declaration and definition of the function to compile the dll > correctly or is it ok in just one place. If it's just one place where do = I > need it? > > _________________________________________________________________ > Take advantage of powerful junk e-mail filters built on patented Microsof= t=AE > SmartScreen Technology. > http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D= 1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines > Start enjoying all the benefits of MSN=AE Premium right now and get the > first two months FREE*. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Daniel K. O. <dan...@ya...> - 2004-08-29 21:09:03
|
OROSZI Balázs wrote: > As a side note, if you are sure, that you will never use any compiler > apart from GCC, then this __declspec() stuff is not needed at all, as > far as I know, because GCC can auto-import symbols. Have to read more > on this myself, I just wanted you to know about it. A bit of info about this: http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#index-_0040code_007b_005f_005fdeclspec_0028dllexport_0029_007d-1646 "For Microsoft Windows based targets the use of the dllimport attribute on functions is not necessary, but provides a small performance benefit by eliminating a thunk in the DLL. (...)" Daniel K. O. |
From: <or...@vp...> - 2004-08-29 20:18:33
|
Noorez Kassam wrote: > for functions in dlls, do I need to use the __declspec (dllexport) =20 > for both the declaration and definition of the function to compile the=20 > dll correctly or is it ok in just one place. If it's just one place=20 > where do I need it? It is enough in the declaration. (Don't forget that it's need to be __declspec(dllimport) when using the D= LL! - can be done=20 with some macro mumbo-jumbo) As a side note, if you are sure, that you will never use any compiler apa= rt from GCC, then=20 this __declspec() stuff is not needed at all, as far as I know, because= GCC can=20 auto-import symbols. Have to read more on this myself, I just wanted you = to know about it. -- Greetings, Bal=E1zs |
From: Noorez K. <coo...@ho...> - 2004-08-29 17:29:51
|
for functions in dlls, do I need to use the __declspec (dllexport) for both the declaration and definition of the function to compile the dll correctly or is it ok in just one place. If it's just one place where do I need it? _________________________________________________________________ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. |
From: Eric <eri...@cl...> - 2004-08-29 01:07:37
|
There was text there have another look, or convert it to plain text format how it should be :-) ----- Original Message ----- From: "Scott Simontis" <age...@co...> To: "Eric" <eri...@cl...> Cc: <dev...@li...> Sent: Sunday, August 29, 2004 10:58 AM Subject: Re: [Dev-C++] unable to run hello world.cpp Your message displayed as white on white text, so many people probably just assumed it was a blank message. Also, I don't think you mentioned the portability issues of a system() statement, or that the console works well too. Eric wrote: >that's why I suggested > at the end of the program ask for some useless variable. > > > > >----- Original Message ----- >From: "Scott Simontis" <age...@co...> >To: "Isaac E. Wagner" <is...@wa...> >Cc: <dev...@li...> >Sent: Sunday, August 29, 2004 5:48 AM >Subject: Re: [Dev-C++] unable to run hello world.cpp > > >Just a word of warning, this doesn't always work on some systems. It >will work perfectly on Windows and a lot of other operating systems, but >unless portability is your primary concern, you shouldn't have to worry. >You can also just run it from the DOS prompt, and it will not exit at >the end so you will have time to read the output. >Isaac E. Wagner wrote: > > > >>Try adding the following line to the end of your program: >> >>system("pause"); >> >> >>----- Original Message ----- >>From: . . >>To: dev...@li... >>Sent: Saturday, August 28, 2004 3:22 AM >>Subject: [Dev-C++] unable to run hello world.cpp >> >> >>Every time I try to run hello world.cpp the dos window closes as soon >> >> >as it > > >>opens, I know this is covered in the help section... but I couldnt get >> >> >it to > > >>work. ANy help would be appreciated. >> >> >>Do you Yahoo!? >>Win 1 of 4,000 free domain names from Yahoo! Enter now. >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by BEA Weblogic Workshop >>FREE Java Enterprise J2EE developer tools! >>Get your free copy of BEA WebLogic Workshop 8.1 today. >>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> >> >> >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.745 / Virus Database: 497 - Release Date: 27-Aug-04 > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.745 / Virus Database: 497 - Release Date: 27-Aug-04 |