f



difference between 'C++ Primer' and 'C++ Primer Plus'

Hi,
Can someone tell me whats the difference between the books
(1) C++ Primer, 3rd ed (1998) by Stanley B Lippman & Josee Lajoie  and
(2) C++ Primer Plus (2001)  By Stephen Prata
(3) Waite Group C++ Primer Plus (1998) By Snaith

All seem to get excellent reviews on www.accu.org and comp.lang.c++.*.
Is (2) just the next edition of (1). If there is little difference I
would like to get (1) as there is an answer book available: C++ Primer
Answer Book (Visual QuickStart Guide), (1999) By Clovis L. Tondo,
Bruce P. Leung


Thanks to every body in advance :-)

      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
0
johncurry2000
2/28/2004 3:40:43 AM
comp.lang.c++.moderated 10738 articles. 1 followers. allnor (8509) is leader. Post Follow

6 Replies
711 Views

Similar Articles

[PageSpeed] 37

In message <86dfc3fa.0402270617.2bbff116@posting.google.com>, MonkeyMan 
<johncurry2000@onetel.net.uk> writes
>Hi,
>Can someone tell me whats the difference between the books
>(1) C++ Primer, 3rd ed (1998) by Stanley B Lippman & Josee Lajoie  and
>(2) C++ Primer Plus (2001)  By Stephen Prata
>(3) Waite Group C++ Primer Plus (1998) By Snaith
>
>All seem to get excellent reviews on www.accu.org and comp.lang.c++.*.
>Is (2) just the next edition of (1).

It would be very surprising if books with completely disjoint sets of 
authors were successive editions.

> If there is little difference I
>would like to get (1) as there is an answer book available: C++ Primer
>Answer Book (Visual QuickStart Guide), (1999) By Clovis L. Tondo,
>Bruce P. Leung

Forget the third title, it is too dated to be worth much these days. 
Between the first two I would place the first one way ahead though be 
warned that Stan has a coding style that is influenced by a long (now 
discontinued) association with the needs of the motion picture industry 
(animation and film processing is very computationally intensive and so 
encourages a style of optimisation that might be inappropriate in other 
problem domains)



-- 
Francis Glassborow      ACCU
Author of 'You Can Do It!' see http://www.spellen.org/youcandoit
For project ideas and contributions: http://www.spellen.org/youcandoit/projects


      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
0
Francis
2/28/2004 3:31:40 PM
MonkeyMan wrote:

> Hi,
> Can someone tell me whats the difference between the books
> (1) C++ Primer, 3rd ed (1998) by Stanley B Lippman & Josee Lajoie  and
> (2) C++ Primer Plus (2001)  By Stephen Prata
> (3) Waite Group C++ Primer Plus (1998) By Snaith
> 
> All seem to get excellent reviews on www.accu.org and comp.lang.c++.*.
> Is (2) just the next edition of (1). If there is little difference I
> would like to get (1) as there is an answer book available: C++ Primer
> Answer Book (Visual QuickStart Guide), (1999) By Clovis L. Tondo,
> Bruce P. Leung

The primary difference is, of course, the authors.

Lippman is/was deeply involved in the development of the C++ programming
language from the early days, and his book carries a certain aura of
authority that the others don't.

Lippman's primer is THE quasi-official companion to Stroustroup's book
"The C++ Programming Language"; none of the other primers have that
distinction.
--
Antoun Kanawati

      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
0
Antoun
2/29/2004 3:35:28 AM
Thanks Antoun/Francis,
I wrongly assumed that the books are somehow related judging by their
titles. Wonder why they used similar names (Is it a marketing ploy?)

Unfortunately I learned my C++ from Herbert Schildts books (before I
read the reviews!) Although, he gets such bad press about the
technical content of his books, I have always found his teaching style
to be excellent. I believe that some authors could benefit from his
technique. Stroustroup's book may be excellent but I wish that
publishers/bookshops would marketing it for the correct audience!

Cheers,
John

PS:
Francis, you have some very good and informative reviews on ACCU.org,
very helpful :-)


Antoun Kanawati <antounk@comcast.net> wrote in message news:<Fj20c.78212$4o.100607@attbi_s52>...
 > MonkeyMan wrote:
 >
 > > Hi,
 > > Can someone tell me whats the difference between the books
 > > (1) C++ Primer, 3rd ed (1998) by Stanley B Lippman & Josee Lajoie  and
 > > (2) C++ Primer Plus (2001)  By Stephen Prata
 > > (3) Waite Group C++ Primer Plus (1998) By Snaith
 > >
 > > All seem to get excellent reviews on www.accu.org and comp.lang.c++.*.
 > > Is (2) just the next edition of (1). If there is little difference I
 > > would like to get (1) as there is an answer book available: C++ Primer
 > > Answer Book (Visual QuickStart Guide), (1999) By Clovis L. Tondo,
 > > Bruce P. Leung
 >
 > The primary difference is, of course, the authors.
 >
 > Lippman is/was deeply involved in the development of the C++ programming
 > language from the early days, and his book carries a certain aura of
 > authority that the others don't.
 >
 > Lippman's primer is THE quasi-official companion to Stroustroup's book
 > "The C++ Programming Language"; none of the other primers have that
 > distinction.

      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
0
johncurry2000
3/1/2004 12:35:20 PM
In message <86dfc3fa.0403010129.45add842@posting.google.com>, MonkeyMan 
<johncurry2000@onetel.net.uk> writes
>PS:
>Francis, you have some very good and informative reviews on ACCU.org,
>very helpful :-)

However keep in mind that they are still only my opinion even if that is 
a reasonably well informed one. In addition be very careful about the 
date of a review, reviews more than five years old should always be 
treated with suspicion if they recommend a book because as time passes 
what was good often becomes less so.

-- 
Francis Glassborow      ACCU
Author of 'You Can Do It!' see http://www.spellen.org/youcandoit
For project ideas and contributions: http://www.spellen.org/youcandoit/projects


      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
0
Francis
3/1/2004 5:18:40 PM
Francis Glassborow <francis@robinton.demon.co.uk> wrote in message news:<z5tFK7YqOzQAFwOf@robinton.demon.co.uk>...
 > In message <86dfc3fa.0403010129.45add842@posting.google.com>, MonkeyMan
 > <johncurry2000@onetel.net.uk> writes
 > >PS:
 > >Francis, you have some very good and informative reviews on ACCU.org,
 > >very helpful :-)
 >
 > However keep in mind that they are still only my opinion even if that is
 > a reasonably well informed one. In addition be very careful about the
 > date of a review, reviews more than five years old should always be
 > treated with suspicion if they recommend a book because as time passes
 > what was good often becomes less so.

I want to weigh in on this one -
I think the 'C++ Primer Plus' is an excellent book for beginners.  As
a C++ educator, I have consistly recommended this book to my
introductory students.  I think Stephen Prata does an excellent job of
explaining the basic concepts to beginners.  Sometimes, we get lost in
the technical accuracy that is so often authoritatively expounded.
Joe

      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
0
sweetiebentley
3/3/2004 11:51:23 AM
In message <e7ccda02.0403022142.5ddfadb6@posting.google.com>, Joe 
Bentley <sweetiebentley@hotmail.com> writes
>I want to weigh in on this one -
>I think the 'C++ Primer Plus' is an excellent book for beginners.  As
>a C++ educator, I have consistly recommended this book to my
>introductory students.  I think Stephen Prata does an excellent job of
>explaining the basic concepts to beginners.  Sometimes, we get lost in
>the technical accuracy that is so often authoritatively expounded.
>Joe

Then I think it is time you revised your recommendation as an educator. 
Time does not stand still and an introductory book that ignores the STL 
part of the Standard C++ Library (however you define that subset) until 
the final two chapters is making the newcomers life harder than 
necessary.

Note that my objection has nothing to do with technical correctness and 
everything to do with the needs of the C++ novice. My objections are 
pedagogical, I do not think that books that tackle introducing C++ that 
way are the best way to do it.

The origins of this book lie way back in the very early 90s when Stephen 
Prata produced the first edition, I do not think he did a sufficiently 
radical revision when he produced the second edition.

-- 
Francis Glassborow      ACCU
Author of 'You Can Do It!' see http://www.spellen.org/youcandoit
For project ideas and contributions: http://www.spellen.org/youcandoit/projects


      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
0
Francis
3/3/2004 8:25:13 PM
Reply:

Similar Artilces:

Calling 'foo.c' or 'foo2.c' from my 'main_code.c'
Hello. I don't know if following is possible. I've got 'main_code.c': ............................ char * another_code; another_code = "foo.c"; ............................ I've got 'foo.c': ............................ #include <stdio.h> int main() { printf ("Hello world from 'foo.c'!\n"); return 0; } ............................ I would like to call 'foo.c' main function from 'main_code.c'. Is this possible? Thank you very much and best regards. Francesco Moi <francescomoi@europe.com> scribbled the ...

if ('A:B:C' =~ /:(.*?)$/) then why the heck is $1 'B:C' and not just 'C'
To repeat the title, in case it is munged by Google Groups: if ('A:B:C' =~ /:(.*?)$/) then why the heck is $1 'B:C' and not just 'C' I've been developing with perl for years; but even simple things in it still sometimes throw up surprises. The regexp /:(.*?)$/ is anchored on the right by $, then comes a non- greedy match which, AIUI, is the "shortest string it can get away with", preceded by a colon. So I would expect this to pick up just the "C", as it does with /([^:]*)$/. Am I assuming/doing something silly? It is frid...

'ab\c' and 'ab\\c'
I encountered a rather peculiar behavior of strings today. Here is my irb session: ------------------------------------------------------------------- irb(main):001:0> 'ab\c' irb(main):002:0' ' SyntaxError: compile error (irb):2: unterminated string meets end of file from (irb):2 irb(main):003:0> 'ab\\c' => "ab\\c" irb(main):004:0> 'a\b' => "a\\b" irb(main):005:0> ------------------------------------------------------------------- As you can see when I typed 'ab\c' my irb didn't return. It was expecting...

To 'C' or not to 'C' ... now what the hell to I do?
From the WTF department! (WTF: What the fuck!) I have an application that is written in 'C'. It works flawlessly under OpenVMS Alpha V7.3-2 and V8.2. However, I just ran this same executable on V8.3. It's a mess. Because it is the same executable as run on the other VMS versions, I'd conclude that there's something SERIOUSLY horked in the C RTL on V8.3. -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" http://tmesis.com/drat.html In article <gIQjj.1370$eT.982@newsfe12.lga>, VAXman- @SendSpamHere.ORG wrote: > From the WTF department! (WTF: What the fuck!) > > I have an application that is written in 'C'. It works flawlessly under > OpenVMS Alpha V7.3-2 and V8.2. However, I just ran this same executable > on V8.3. It's a mess. Because it is the same executable as run on the > other VMS versions, I'd conclude that there's something SERIOUSLY horked > in the C RTL on V8.3. For either of your two questions (WTF? and "now what?") some description of the mess might increase the accuracy of guesses for people attempting to answer. If the CRTL is involved in your problems (and there's no evidence of that here as yet), the first thing I'd do is check and compare feature settings between the two systems: $ show logical DECC$* Other system differences only tangentiall...

{ '0':'c->c->a' ,'1':'a->b->a' .........}
Hi, have anybody a hint , how i get a dict from non unique id's and their different related values. Thanks for advance Chris ###random data # a=range(10)*3 def seqelem(): i=random.randint(0,2) elem=['a','b','c'][i] return elem s=[seqelem() for t in range(30)] print zip(a,s) ## favored result: { '0':'c->c->a' ,'1':'a->b->a' .........} Hi Chris, I may have time to look at the rest of your code later. For now I just want to comment on one line: On Nov 7, 12:24=A0pm, chris <o...

a regexp riddle: re.search(r'(?:(\w+), |and (\w+))+', 'whatever a, bbb, and c') =? ('a', 'bbb', 'c')
HypoNt: I need to turn a human-readable list into a list(): print re.search(r'(?:(\w+), |and (\w+))+', 'whatever a, bbb, and c').groups() That currently returns ('c',). I'm trying to match "any word \w+ followed by a comma, or a final word preceded by and." The match returns 'a, bbb, and c', but the groups return ('bbb', 'c'). What do I type for .groups() to also get the 'a'? Please go easy on me (and no RTFM!), because I have only been using regular expressions for about 20 years... -- Phlip h...

Corectly convert from %PATH%=c:\\X;"c:\\a;b" TO ['c:\\X', 'c:\\a;b']
Hi, I am trying to treat an environment variable as a python list - and I'm sure there must be a standard and simple way to do so. I know that the interpreter itself must use it (to process $PATH / %PATH%, etc) but I am not able to find a simple function to do so. os.environ['PATH'].split(os.sep) is wrong on Windows for the case when PATH="c:\\A;B";c:\\D; where there is a ';' embedded in the quoted path. Does anyone know of a simple way (addons ok) which would do it in a cross platform way? If not - I will roll my own. My search has shown that generally people ...

how to make ["a","b",["c","d"],"e"] into ['a', 'b', 'c', 'd', 'e'] ?
--001a11c34e8edbc7c404f6a94bbe Content-Type: text/plain; charset=ISO-8859-1 >>> x=["a","b",["c","d"],"e"] >>> y=x[2] >>> y ['c', 'd'] >>> x.insert(2,y[0]) >>> x ['a', 'b', 'c', ['c', 'd'], 'e'] >>> x.insert(3,y[1]) >>> x ['a', 'b', 'c', 'd', ['c', 'd'], 'e'] >>> del x[4] >>> x ['a', 'b', 'c', 'd', &#...

What does 'c' in 'cout' mean?
Hi, I'm wondering what 'c' in "cout", "cin" mean? Does it mean "C++"? Or the 'c' in <cassert>? Thanks, Peng On 10 19 , 9 13 , "PengYu...@gmail.com" <PengYu...@gmail.com> wrote: > Hi, > > I'm wondering what 'c' in "cout", "cin" mean? Does it mean "C++"? Or > the 'c' in <cassert>? > http://www.research.att.com/~bs/bs_faq2.html#cout "PengYu.UT@gmail.com" <PengYu.UT@gmail.com> wrote: > Hi, > > I'm wondering what 'c...

Is there a simple function to generate a list like ['a', 'b', 'c', ... 'z']?
Is there a simple function to generate a list like ['a', 'b', 'c', ... 'z']? The range() just can generate the numeric list. On Apr 9, 2007, at 3:29 AM, =E4=BA=BA=E8=A8=80=E8=90=BD=E6=97=A5=E6=98=AF=E5= =A4=A9=E6=B6=AF=EF=BC=8C=E6=9C=9B=E6=9E=81=E5=A4=A9=E6=B6=AF=E4=B8=8D=20 =E8=A7=81=E5=AE=B6 wrote: > Is there a simple function to generate a list like ['a', 'b', 'c', ... > 'z']? The range() just can generate the numeric list. import string list(string.lowercase) 人言落日是天涯,望极天涯不见家 schrieb: > Is there a simple ...

'is not' or '!='
A newbie question to you; what is the difference between statements like: if x is not None: and if x != None: Without any context, which one should be preferred? IMHO, the latter is more readable. On 2014-08-18 21:35, ElChino wrote: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: > > Without any context, which one should be preferred? > IMHO, the latter is more readable. > "x == y" tells you whether x and y refer to objects that are equal. "x is y" tells you whether x and y actually refer to the same object. In the case of singletons like None (there's only one None object), it's better to use "is". "ElChino" <elchino@cnn.cn>: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: Do the following: take two $10 bills. Hold one bill in the left hand, hold the other bill in the right hand. Now, the bill in the left hand "is not" the bill in the right hand. However, the bill in the left hand "==" the bill in the right hand. > Without any context, which one should be preferred? > IMHO, the latter is more readable. In almost all cases, both tests would result in the same behavior. However, the "is not" test is conceptually the correct one since you want...

'^=' and '~='?
Hello, What is the difference between '^=' and '~='? Thanks, Duckhye ...

A question about '=='' in C++!
Can anyone tell me the different between (1) int i, j; i = j ==1; cout << i; cout << j; and (2) int i, j; i = j = 1; cout << i; cout << j; Why the result of (1) is 0 0 while the result of (2) is 1 1 Thanks! -- comp.lang.c.moderated - moderation address: clcm@plethora.net -- you must have an appropriate newsgroups line in your header for your mail to be seen, or the newsgroup name in square brackets in the subject line. Sorry. Guofu Chen wrote: > Can anyone tell me the different between > (1) > int i, j; > i = j...

Difference between 'is' and '=='
Hey guys, this maybe a stupid question, but I can't seem to find the result anywhere online. When is the right time to use 'is' and when should we use '=='? Thanks alot~ mwql: >Hey guys, this maybe a stupid question, but I can't seem to find the >result anywhere online. When is the right time to use 'is' and when >should we use '=='? http://docs.python.org/ref/comparisons.html -- Ren� Pijlman mwql wrote: > Hey guys, this maybe a stupid question, but I can't seem to find the > result anywhere online. When is the right time to ...

difference between ',' and 'a,'
Small question. In gforth is there a difference between the words ',' and 'a,'? I'm thinking not, so perhaps another question, why have both ',' and 'a,'? Thanks Should be the same, in gforth: see , : , here cell allot ! ; ok see a, : , here cell allot ! ; ok On Friday, January 9, 2015 at 5:46:04 AM UTC-8, beeflo wrote: > Small question. In gforth is there a difference between the words ',' and 'a,'? > > I'm thinking not, so perhaps another question, why have both ',' and 'a,'...

'Dynamically' calling a program from 'C'
Hello, I have a 'C' function that needs to call a COBOL routine, the name of which will be passed as a parameter to the 'C' function. Kind of like a dynamic call in COBOL. I thought I could use SYSTEMENTRY_POINT_RISC_ to get the function pointer of the COBOL routine, but I get back NULL as a result. Does anyone know the proper way to do this? Thanks for any tips. CJ == On Feb 8, 3:24=A0pm, "Clint Jensen" <divercl...@earthlink.net> wrote: > Hello, > > I have a 'C' function that needs to call a COBOL routine, the name of whi= ch > ...

Converting 'C' to an 'M-file'
After spending some time converting a 'C' program into a MATLAB script file in order to incorporate it into our suite of MATLAB based data processing routines, I am now wondering if I could run the 'C' program in MATLAB? It would need to access data created from another MATLAB script stored locally. I thought translating it into MATLAB would improve it's efficiency as it would be running on MATLAB, but having read something about 'MEX-files' I am becoming uncertain. Any quick-start guide to running 'C' programs as M-file scripts would be most helpful. &q...

convert a 'C' code to 'Fortran'
Hi all, Is there a program available that can convert a code in 'C' to 'Fortran'? I have a 'C' program (quite big) that I need to integrate into an existing 'Fortran' code. Can anyone give me a direction? Thanks in advance. Sam. Sam: http://home.cfl.rr.com/davegemini/C2F.ZIP Unzip and read the README.C2F text file. Skip On 10 Nov 2004 11:33:34 -0800, atluris@gmail.com (sam) wrote: -|Hi all, Is there a program available that can convert a code in 'C' to -|'Fortran'? I have a 'C' program (quite big) that I need to integrate -|into an...

convert 'C' code to 'Fortran'
Hi, Can anyone help me find a software that can convert a code in 'C' to 'Fortran77/90' automatically? Thanks in advance. Sam. sam wrote: > Hi, > Can anyone help me find a software that can convert a code in 'C' > to 'Fortran77/90' automatically? > > Thanks in advance. > > Sam. Wow, - good luck :) sam wrote: > Hi, > Can anyone help me find a software that can convert a code in 'C' > to 'Fortran77/90' automatically? This is not really on-topic. However, there is a slightly more topical version: Why...

Why can I get the size of the folder 'C:\Test\' and not of 'C:\' by using Microsoft Scripting Runtime
I've enabled Project - References... - Microsoft Scripting Runtime I use the following code to get the number of files and the size of all the files in a specific folder. Dim objFSO As Scripting.FileSystemObject Dim objFolder As Scripting.Folder Set objFSO = New Scripting.FileSystemObject Set objFolder = objFSO.GetFolder("C:\Test\") MsgBox(objFolder.Files.Count) MsgBox(objFolder.Size) This works great for all folders but it doesn't work for 'C:\', 'D:\', ... ... Set objFolder = objFSO.GetFolder("C:\") I can get the number of fi...

wxIE doesn't handle 'enter', 'delete' key, 'control-c' 'control-v' properly
I built the wxIE project from: http://sourceforge.net/projects/wxactivex Which is great, but I can't use the 'delete' key, nor 'enter', nor control-c/control-v in the IE window. Using SPY++ and stepping through the code I see that the keys are being sent to the IE Window so I'm lost as to how to make it work. Has anyone seen oddities like this using wxActiveX? Everything looks right so it's very frustrating... Joe -- View this message in context: http://www.nabble.com/wxIE-doesn%27t-handle-%27enter%27%2C-%27delete%27-key%2C-%27control-c%27-%27co...

'''''''''''''The Running Update/Append Queries Using VBA code Ordeal''''''''''''''
Hello fellow programmers, I am trying to run an append/update query from code, a command button on a form initiates the queries. the format i am using is; _____________________________________________________ SELECT "criteria" FROM "criteria" WHERE "criteria" UPDATE/APPEND "field selections" RecordSource "qryExample" = above text strings" _______________________________________________________________________ When i am running a SELECT query in this manner it works fine with no problems, and accepts the values of specified linked for...

'echo -n' vs 'echo ...\c'
This is question about portability and about history, too. I use 'echo -n' or printf when I need no-trailing-newline. But I remember that in the past, it was a choice of 'echo -n' vs 'echo ...\c'. Are there surviving shells that do not understand "echo -n" but need ...\c ? Yakov 2007-06-03, 01:37(-07), Yakov: > This is question about portability and about history, too. > I use 'echo -n' or printf when I need no-trailing-newline. > But I remember that in the past, it was a choice of 'echo -n' vs > 'echo ...\c'. > Are ...

Rotate bits 'C' vs 'ASM'
In C if I want to rotate bits for example hashing I write. x = (x << 8) ^ (x >> 24); Do modern compilers convert that to the direct ASM instruction ROL D0,#8 I have to ask as I don't know x86 assembler. If it does not, is there a way to invoke rotation without writing in assembler? On Jun 1, 11:31=A0am, Earl_Colby_Pottinger <earlcolby.pottin...@sympatico.ca> wrote: > In C if I want to rotate bits for example hashing I write. > > x =3D (x << 8) ^ (x >> 24); > > Do modern compilers convert that to the direct ASM instruction > > ROL D0,...

Web resources about - difference between 'C++ Primer' and 'C++ Primer Plus' - comp.lang.c++.moderated

Resources last updated: 2/29/2016 1:24:31 PM