Thread: [Dev-C++] Re: Dev-cpp-users digest, Vol 1 #1867 - 11 msgs
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alexis U. <au...@te...> - 2004-01-31 03:13:39
|
Hi Samy, I am also starting to learn C++. I found a nice book SAMS ISBN 0-672-32224-2, SAMS Teach Yourself C++. by Jesse Liberty. Even though it = is windows bases, he follow the ANSI compliant. Among these, SAMS has other = lot of book about C++. I hope it will help Regards Alexis ----- Original Message ----- From: <dev...@li...> To: <dev...@li...> Sent: Thursday, January 29, 2004 8:13 AM Subject: Dev-cpp-users digest, Vol 1 #1867 - 11 msgs > Send Dev-cpp-users mailing list submissions to > dev...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > or, via email, send a message with subject or body 'help' to > dev...@li... > > You can reach the person managing the list at > dev...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dev-cpp-users digest..." > > > Today's Topics: > > 1. Re: OT: A Good C++ Book ? (=3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D= ) > 2. Re: fustrations in c++ (Michael C Urban) > 3. Re: C++ (=3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D) > 4. Re: fustrations in c++ (=3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D) > 5. Re: "delete this" in the class member (Miguel =3D?ISO-8859-1?Q?Ram=3DEDrez_J=3DE1vega?=3D) > 6. Abnormal program termination (Nicholas O. Rawlings) > 7. Re: OT: A Good C++ Book ? (Miguel =3D?ISO-8859-1?Q?Ram=3DEDrez_J=3DE1vega?=3D) > 8. Re: OT: A Good C++ Book ? (Watson Davis) > 9. precise Web protocol knowledge for Unix/C++ (John D Allen, Leveri= dge Systems INC) > 10. Re: OT: A Good C++ Book ? (Reid Thompson) > 11. Re: OT: A Good C++ Book ? (Scott Simontis) > > --__--__-- > > Message: 1 > Date: Wed, 28 Jan 2004 23:02:55 +0100 > From: =3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D <or...@vp...> > To: dev...@li... > Subject: Re: [Dev-C++] OT: A Good C++ Book ? > > Sami Barakat wrote: > > I have been learning C++ for about 4 months now from online free=3D20 > > resources and i feel that i would like to gain a better understanding= o=3D > f=3D20 > > the language and become more advanced at it. I know 4 months isn't mu= ch=3D > =3D20 > > time but I have done programming in PHP before and grasped the basics= o=3D > f=3D20 > > C++ pretty easily. > > I am simply asking people from the list if they could recommend any G= OO=3D > D=3D20 > > C++ programming books that are not Visual Studio, because i would like=3D20 > > to program on Linux as well as Windows without having to do major=3D2= 0 > > changes to the code, so will be using the gcc compiler all the time. = It=3D > =3D20 > > would also be nice if the book could explain how to program using=3D2= 0 > > sockets ( I know they are different for Windows and Linux ). I am doi= ng=3D > =3D20 > > this more as a hobby at the moment and maybe later on take a course at=3D20 > > uni in it. Im not too bothered about how much the book may cost, all i=3D20 > > am really interested in is the clarity of the book and how far i can = go=3D > =3D20 > > with it ( I want to go far :) ). > > Well, the de facto standard book is Bjarne Stroustrup: The C++=3D20 > Programming Language. It has everything about C++, but it can be a bit=3D= 20 > too techy sometimes. But I think that's not a problem for you, as you=3D= 20 > already learned C++, so I recommend that book. It describes OO=3D20 > programming in general with C++, exceptions, classes, etc. - all aspects=3D20 > of C++ in general, and quite well. Also, it describes the STL, and all=3D= 20 > what it has plus how to use it efficiently. As it discusses C++ and STL= =3D20 > generally (presents the C++ standard), it can be considered platform=3D= 20 > independent. > > As you told you learned programming, AND also C++, I think this book=3D= 20 > will be the best for you. You'll find everything inside what you might=3D= 20 > ever need. > > -- > Greetings, > Bal=3DE1zs > > > > --__--__-- > > Message: 2 > Date: Wed, 28 Jan 2004 10:41:40 -0600 (CST) > From: Michael C Urban <mu...@cb...> > To: =3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D <or...@vp...> > Cc: dev...@li... > Subject: Re: [Dev-C++] fustrations in c++ > > On Wed, 28 Jan 2004, [ISO-8859-1] OROSZI Bal=3DE1zs wrote: > > > As I said before, I *didn't* write that mail, so I'm not trying to > > "convert" you to anything. > > I didn't say you did. I was simply responding to the thing about > prejudice. You can call it prejudice if you want. But I call it reasone= d > anti-christianity, and I have a lot of reasons for being against > christianity. As a biologist who has leared from experience that humans > and other animals are really not different from each other except in > certain evolutonarily developed traits, I find christianity's idea that > humans are above all the other animals to be morally repulsive. I also = am > not very fond of the fact that christians are always sticking their nos= e > in places where it doesn't belong, so that we have to fight tooth and n= ail > just to get anything done or accepted in science because christians who > don't know what they are talking about, and don't understand even basic > biological concepts, have powerful lobbying groups that try to undermin= e > science. (Did you know that as late as the 1960s, it was still illegal = in > some areas for teachers to teach Darwin's concepts of evolution in > classrooms?) > > So call it whatever you want. But I don't call it prejudice when I can > historically document my reasons for being opposed to christianity. > > Mike > > > --__--__-- > > Message: 3 > Date: Wed, 28 Jan 2004 23:53:03 +0100 > From: =3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D <or...@vp...> > To: dev...@li... > Subject: Re: [Dev-C++] C++ > > THE OMEGA7 wrote: > > i am actually sorry . i did not know that using > > capitals means shouting at some one. i was ignorant of > > this fact . i hope that u all have forgiven me . > > actually , its not a force to be a christian but > > actually , u do have to make peope to realize the > > existence of the supernatural being (GOD) in > > everything we are doing okay .=3D20 > >=3D20 > > this msg is not to hurt any one . plz .=3D20 > > It is okay, no hurt was done, it's simply... does not belong here,=3D20 > really. This is a programming list after all :) > So lets say all is forgiven, and end this case, okay? > > -- > Greetings, > Bal=3DE1zs > > > > --__--__-- > > Message: 4 > Date: Wed, 28 Jan 2004 18:32:40 +0100 > From: =3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D <or...@vp...> > To: Michael C Urban <mu...@cb...> > Cc: dev...@li... > Subject: Re: [Dev-C++] fustrations in c++ > > Hi all! > > Michael C Urban wrote: > > I didn't say you did. I was simply responding to the thing about > > prejudice. You can call it prejudice if you want. But I call it reaso= ne=3D > d > > anti-christianity, and I have a lot of reasons for being against > > christianity. As a biologist who has leared from experience that huma= ns > > and other animals are really not different from each other except in > > certain evolutonarily developed traits, I find christianity's idea th= at > > humans are above all the other animals to be morally repulsive. I als= o =3D > am > > not very fond of the fact that christians are always sticking their n= os=3D > e > > in places where it doesn't belong, so that we have to fight tooth and= n=3D > ail > > just to get anything done or accepted in science because christians w= ho > > don't know what they are talking about, and don't understand even bas= ic > > biological concepts, have powerful lobbying groups that try to underm= in=3D > e > > science. (Did you know that as late as the 1960s, it was still illega= l =3D > in > > some areas for teachers to teach Darwin's concepts of evolution in > > classrooms?) > >=3D20 > > So call it whatever you want. But I don't call it prejudice when I ca= n > > historically document my reasons for being opposed to christianity. > > I don't think this is the right list to express your hatred against=3D2= 0 > christianity. > If you think science is the privilege of anti-christians, I should point=3D20 > out that a good majority of great scientists was, and even today are=3D= 20 > religious (at least in Europe). Even I study on a religious University,= =3D20 > where we learn molecular and neural biology, and computer science (or IT=3D20 > for short). > You might take a look at the site of my University and read some of it's=3D20 > papers to understand how Fides et Ratio can work together: > > http://www.itk.ppke.hu/index_e.html > > -- > Greetings, > Bal=3DE1zs > > John 3:15 > > > --__--__-- > > Message: 5 > Subject: Re: [Dev-C++] "delete this" in the class member > From: Miguel =3D?ISO-8859-1?Q?Ram=3DEDrez_J=3DE1vega?=3D <mramirez@iua.= upf.es> > Reply-To: mra...@iu... > To: Oleksandr Yermolenko <erm...@ma...> > Cc: dev...@li... > Organization: MTG > Date: 29 Jan 2004 00:18:56 +0000 > > On Wed, 2004-01-28 at 09:04, Oleksandr Yermolenko wrote: > > Hi all, > > Little question about delete operator. > > Can i fall into trouble when making a call "delete this" in the > > class member function ? > > > > What do you mean exactly by "falling into trouble"? Obviously, the firs= t > think one thinks at seeing that is the risk of dangling references. Any > reference to that struct instance will be invalid. And second, valgrind > prompts the following when executing the snippet of code you sent: > > =3D=3D1912=3D=3D Memcheck, a.k.a. Valgrind, a memory error detector for > x86-linux. > =3D=3D1912=3D=3D Copyright (C) 2002-2003, and GNU GPL'd, by Julian Sewa= rd. > =3D=3D1912=3D=3D Using valgrind-2.0.0, a program supervision framework = for > x86-linux. > =3D=3D1912=3D=3D Copyright (C) 2000-2003, and GNU GPL'd, by Julian Sewa= rd. > =3D=3D1912=3D=3D Estimated CPU clock rate is 1610 MHz > =3D=3D1912=3D=3D For more details, rerun with: -v > =3D=3D1912=3D=3D > =3D=3D1912=3D=3D Invalid free() / delete / delete[] > =3D=3D1912=3D=3D at 0x40029DF1: __builtin_delete (in > /usr/lib/valgrind/vgskin_memcheck.so) > =3D=3D1912=3D=3D by 0x40029E1C: operator delete(void*) (in > /usr/lib/valgrind/vgskin_memcheck.so) > =3D=3D1912=3D=3D by 0x804846A: foo::func() (in > /home/bowman/Sandboxes/Experiments/delete_myself) > =3D=3D1912=3D=3D by 0x8048452: main (in > /home/bowman/Sandboxes/Experiments/delete_myself) > =3D=3D1912=3D=3D Address 0xBFFFF517 is on thread 1's stack > =3D=3D1912=3D=3D > =3D=3D1912=3D=3D ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0= from 0) > =3D=3D1912=3D=3D malloc/free: in use at exit: 0 bytes in 0 blocks. > =3D=3D1912=3D=3D malloc/free: 1 allocs, 2 frees, 2 bytes allocated. > =3D=3D1912=3D=3D For a detailed leak analysis, rerun with: --leak-chec= k=3Dyes > =3D=3D1912=3D=3D For counts of detected errors, rerun with: -v > > The most important part is the 'Invalid free' line. I am unsure about > this, but I would assume that it is a synonym of "heap corruption". > > Seems that gcc guys care about people not shooting on their feet ;) > > Miguel. > > PS: Quite offtopic, but does anybody know if valgrind is available as a > cygwin package? > > > > --__--__-- > > Message: 6 > Reply-To: <exc...@mi...> > From: "Nicholas O. Rawlings" <exc...@mi...> > To: <Dev...@li...> > Date: Wed, 28 Jan 2004 15:18:10 -0500 > Subject: [Dev-C++] Abnormal program termination > > Hey there! > > I'm writing a string class as part of a school project. Sometimes when= I > compile the class in a test program and run it, I get an error message > saying "NSTRING.EXE has generated errors and will be closed by Windows. You > will need to restart the program. An error log is being created." If = I > re-compile with the exact same source code, the problem goes away and t= he > test program runs perfectly. I'm using version 4.9.8.5 on Windows 2000. I > have about 1300 lines of well-spaced code, but it seems unlikely to me that > this could be too much for mingw or for my computer to handle. Any ide= as? > > Nicholas > > > > --__--__-- > > Message: 7 > Subject: Re: [Dev-C++] OT: A Good C++ Book ? > From: Miguel =3D?ISO-8859-1?Q?Ram=3DEDrez_J=3DE1vega?=3D <mramirez@iua.= upf.es> > Reply-To: mra...@iu... > To: dev...@li... > Organization: MTG > Date: 29 Jan 2004 00:05:11 +0000 > > > > Well, the de facto standard book is Bjarne Stroustrup: The C++ > > Programming Language. It has everything about C++, but it can be a bi= t > > too techy sometimes. But I think that's not a problem for you, as you > > already learned C++, so I recommend that book. It describes OO > > programming in general with C++, exceptions, classes, etc. - all aspe= cts > > of C++ in general, and quite well. Also, it describes the STL, and al= l > > what it has plus how to use it efficiently. As it discusses C++ and S= TL > > generally (presents the C++ standard), it can be considered platform > > independent. > > > > You might also find interesting the two volumes by Bruce Eckel ( if you > don't know them already ): > > http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html > > the first volume could be the least interesting for you, but the second > one contains a lot of wisdom. Also the Effective C++, More Effective C+= + > and Effective STL books by the "Man with a Dog" (Scott Meyers), contain > also substantial wisdom. > > To round-up your STL knowledge, the doxygenated gnu's libstdc++ > documentation is, in my opinion, the most practical STL reference > around. You can find it here: > http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.3/index.ht= ml > > And when you reach the "trascending" state you might want to peek > Andrei Alexandrescu's "Modern C++ Design". You won't believe your eyes > when you see the code snippets. > > Miguel. > > > > --__--__-- > > Message: 8 > Date: Wed, 28 Jan 2004 15:25:41 -0800 > From: Watson Davis <wa...@wa...> > Reply-To: Watson Davis <wa...@wa...> > To: dev...@li... > Subject: Re: [Dev-C++] OT: A Good C++ Book ? > > Sunday, January 25, 2004, 9:00:20 AM, you wrote: > > SB> Hi, I have been learning C++ for about 4 months now from online fre= e > SB> resources and i feel that i would like to gain a better understandi= ng > SB> of the language and become more advanced at it. I know 4 months isn= 't > SB> much time but I have done programming in PHP before and grasped the > SB> basics of C++ pretty easily. I am simply asking people from the lis= t if > SB> they could recommend any GOOD C++ programming books that are not Visual > SB> Studio, because i would like to program on Linux as well as Window= s > SB> without having to do major changes to the code, so will be using t= he > SB> gcc compiler all the time. It would also be nice if the book could > SB> explain how to program using sockets ( I know they are different f= or > SB> Windows and Linux ). I am doing this more as a hobby at the moment = and > SB> maybe later on take a course at uni in it. Im not too bothered abo= ut > SB> how much the book may cost, all i am really interested in is the > SB> clarity of the book and how far i can go with it ( I want to go far= :) > SB> ). > > I'm just picking up C++ myself (after years of C, Pascal, Basic, Fortra= n, > Tal, PL/SQL, Cobol, Scobol, Clips, Clipper and... uh... others) and her= e > are the books I've read and liked so far: > > The C++ Programming Language by Stroustrup > It's kinda like the Bible of C++. > > Thinking in C++ by Eckel. > You can either buy this or you can read it online for free. > > Effective C++ by Meyers. > This one cleared up a lot of questions I didn't even know I had. I = was > making all sorts of mistakes with my objects (like not creating copy > constructors and things like that) until I read this book. > > > HTH. > > Watson (the pencil neck) Davis > > > > > --__--__-- > > Message: 9 > Reply-To: <joh...@le...> > From: "John D Allen, Leveridge Systems INC" <joh...@le...> > To: <dev...@li...> > Date: Wed, 28 Jan 2004 16:08:09 -0800 > Subject: [Dev-C++] precise Web protocol knowledge for Unix/C++ > > > We're in desperate need of contract help for c++/ linux or Unix based > application. > > 6 month need .. we have budget for a serious coder.. so the high dollar= s are > there for the right person. We have a new office in San Jose. > > anyways.. may be of help to a group member or a friend > > cheers > John > > John D Allen. CEO & President. > Leveridge Systems INC. > > > > > --__--__-- > > Message: 10 > Date: Wed, 28 Jan 2004 18:54:36 -0500 > From: Reid Thompson <rei...@at...> > Cc: dev...@li... > Subject: Re: [Dev-C++] OT: A Good C++ Book ? > > http://www.deitel.com/books > http://www.deitel.com/books/downloads.html#cppHTP4 > > > Nothing specific to sockets here, but you should be able to find that > easily enough via google. Check these books out the next time you go > into a bookstore. I have the first edition C++ book and it does a good > job of explaining C++ programming. I've seen/looked through a > co-workers java version of their book, and would say the same about it. > You may also be able to view/utilize these books from one of the 'onlin= e > libraries' via a subscription. > > If you can't find the socket info you're looking for, email me back. > > yanked and put from the second link above: > Book Information > > * > > Table of Contents > * > > Preface > * > > Tour of the Book > * > > Errata > * > > Installing the Apache 2.0 Web Server for Microsoft Windows > > Downloads > > Examples (377K ZIP) > > Updated Fig. 22.5: Fig22_05.cpp > > Deitel=AE Deitel=AE Dive-IntoT Series Publications: > > * Dive Into GNU C++ on Linux (460K, DRAFT PDF in ZIP file) > * Dive Into GNU C++ with CygWin on Windows (578K, DRAFT, PDF in ZI= P > file) > * Dive Into Microsoft Visual C++ .NET (1.2MB, DRAFT PDF in ZIP fil= e) > * Dive Into Microsoft Visual C++ 6 (360K PDF) > (Formerly Getting Started With Microsoft Visual C++) > Example used to introduce the debugger > * > > Dive Into Borland C++ 5.5 (123K PDF) > (Formerly Getting Started with Borland C++ 5.5) > > PowerPoint Lecture Slides > > reid > > OROSZI Bal=E1zs wrote: > > Sami Barakat wrote: > > > >> I have been learning C++ for about 4 months now from online free > >> resources and i feel that i would like to gain a better understandin= g > >> of the language and become more advanced at it. I know 4 months isn'= t > >> much time but I have done programming in PHP before and grasped the > >> basics of C++ pretty easily. > >> I am simply asking people from the list if they could recommend any > >> GOOD C++ programming books that are not Visual Studio, because i wou= ld > >> like to program on Linux as well as Windows without having to do maj= or > >> changes to the code, so will be using the gcc compiler all the time. > >> It would also be nice if the book could explain how to program using > >> sockets ( I know they are different for Windows and Linux ). I am > >> doing this more as a hobby at the moment and maybe later on take a > >> course at uni in it. Im not too bothered about how much the book may > >> cost, all i am really interested in is the clarity of the book and h= ow > >> far i can go with it ( I want to go far :) ). > > > > > > Well, the de facto standard book is Bjarne Stroustrup: The C++ > > Programming Language. It has everything about C++, but it can be a bi= t > > too techy sometimes. But I think that's not a problem for you, as you > > already learned C++, so I recommend that book. It describes OO > > programming in general with C++, exceptions, classes, etc. - all aspe= cts > > of C++ in general, and quite well. Also, it describes the STL, and al= l > > what it has plus how to use it efficiently. As it discusses C++ and S= TL > > generally (presents the C++ standard), it can be considered platform > > independent. > > > > As you told you learned programming, AND also C++, I think this book > > will be the best for you. You'll find everything inside what you migh= t > > ever need. > > > > -- > > Greetings, > > Bal=E1zs > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > 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 > > > > > --__--__-- > > Message: 11 > Date: Wed, 28 Jan 2004 21:18:01 -0500 > From: Scott Simontis <age...@co...> > To: mra...@iu..., dev...@li... > Subject: Re: [Dev-C++] OT: A Good C++ Book ? > > I find C++ from the Ground Up to be a great reference. I know > professionals who use it as a reference guide, and I am learning for it. > Make sure you type in all the examples, though. Other than that, Bruce > Eckel has very good books .Bjarne Stroustup's book is good for college > professors and little more I have heard, but haven't read enough of it. > Miguel Ram=EDrez J=E1vega wrote: > > >>Well, the de facto standard book is Bjarne Stroustrup: The C++ > >>Programming Language. It has everything about C++, but it can be a bi= t > >>too techy sometimes. But I think that's not a problem for you, as you > >>already learned C++, so I recommend that book. It describes OO > >>programming in general with C++, exceptions, classes, etc. - all aspe= cts > >>of C++ in general, and quite well. Also, it describes the STL, and al= l > >>what it has plus how to use it efficiently. As it discusses C++ and S= TL > >>generally (presents the C++ standard), it can be considered platform > >>independent. > >> > >> > >> > > > >You might also find interesting the two volumes by Bruce Eckel ( if yo= u > >don't know them already ): > > > >http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html > > > >the first volume could be the least interesting for you, but the secon= d > >one contains a lot of wisdom. Also the Effective C++, More Effective C= ++ > >and Effective STL books by the "Man with a Dog" (Scott Meyers), contai= n > >also substantial wisdom. > > > >To round-up your STL knowledge, the doxygenated gnu's libstdc++ > >documentation is, in my opinion, the most practical STL reference > >around. You can find it here: > >http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.3/index.h= tml > > > >And when you reach the "trascending" state you might want to peek > >Andrei Alexandrescu's "Modern C++ Design". You won't believe your eyes > >when you see the code snippets. > > > >Miguel. > > > > > > > >------------------------------------------------------- > >The SF.Net email is sponsored by EclipseCon 2004 > >Premiere Conference on Open Tools Development and Integration > >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > >http://www.eclipsecon.org/osdn > >_______________________________________________ > >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 > > > > > > > > > > > --__--__-- > > _______________________________________________ > 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 > > > End of Dev-cpp-users Digest > |