473,395 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

C++ Primer, 3rd or 4th ?

Hello, I am a newbie in C++ and I'm in trouble in choosing books, I
hope some one who can give me some tips. I'm already know C and a
little about Scheme, C#, Python, Lua and so on, and now I want to use
C++. After reading parts of "Accelerated C++", I feel so good about it
(both the language and the book) and want to pick "C++ Primer" to have
a deeper look into C++. But you see, there are two "C++ Primer" --- the
3rd and the 4th. Of course, the 3rd is classic and thicker (1200+) and
the 4th is much more like the "Accelerated C++" (Thanks to Moo and
Koenig). What's more, 4th adds a lot new things while 3rd discuss much
about details about what compiler will do for you. I'd like to dive
into C++ and will read "Inside The C++ Object Model" later, so 3rd will
help.
Can anyone help me to decide which to buy? Thank you!

PS: Maybe both? It's hard, because I don't have so much money.

Dec 9 '06 #1
7 1919
On 2006-12-09 09:13, Lycan. Mao.. wrote:
Hello, I am a newbie in C++ and I'm in trouble in choosing books, I
hope some one who can give me some tips. I'm already know C and a
little about Scheme, C#, Python, Lua and so on, and now I want to use
C++. After reading parts of "Accelerated C++", I feel so good about it
(both the language and the book) and want to pick "C++ Primer" to have
a deeper look into C++. But you see, there are two "C++ Primer" --- the
3rd and the 4th. Of course, the 3rd is classic and thicker (1200+) and
the 4th is much more like the "Accelerated C++" (Thanks to Moo and
Koenig). What's more, 4th adds a lot new things while 3rd discuss much
about details about what compiler will do for you. I'd like to dive
into C++ and will read "Inside The C++ Object Model" later, so 3rd will
help.
Can anyone help me to decide which to buy? Thank you!
I haven't read any of them but in general I'd go with the newest since
it will probably be more updated on modern C++ usage and such. It's
unusual to remove sections of a book if they are not deemed to be
outdated. Since I have not read them I don't know exactly what they
cover but you might want to consider The C++ Programming Language too,
it's aways been a good reference to me and since you've got some prior
experience it won't be too difficult.

--
Erik Wikström
Dec 9 '06 #2
Hello, I am a newbie in C++ and I'm in trouble in choosing books, I
hope some one who can give me some tips. I'm already know C and a
little about Scheme, C#, Python, Lua and so on, and now I want to use
C++.
#1 : you know 'C'
#2: you already know a little about other programming languages
After reading parts of "Accelerated C++", I feel so good about it
(both the language and the book)
#3: you have read "Accelerated C++"
and want to pick "C++ Primer" to have
a deeper look into C++. But you see, there are two "C++ Primer" --- the
3rd and the 4th. Of course, the 3rd is classic and thicker (1200+) and
the 4th is much more like the "Accelerated C++" (Thanks to Moo and
Koenig). What's more, 4th adds a lot new things while 3rd discuss much
about details about what compiler will do for you. I'd like to dive
into C++ and will read "Inside The C++ Object Model" later, so 3rd will
help.
Can anyone help me to decide which to buy? Thank you!
yeah, sure ;-)

i hung on this question for long & had posted numerous posts on it.
you can search for my name in archives for a long answer, you should
also search for other posters on same question. see down here BTW, for
short answer.
PS: Maybe both? It's hard, because I don't have so much money.
#4: you don't have large sums of money, like me.

so i have collected these 4 points from your post. all of these point
to only one book:

"TC++PL" - Bjarne Stroustrup.

as per my experience "here" & at "moderated", no matter what book you
read, in the end you *will have to* read Stroustrup. i also carry a
copy of it, quite expensive, quite professional & practical book, very
clearly shows the signs that author is a Software Engineer ( i am not
talking of a degree, talking of *expertise*). better pick it up early
as you fulfill all the prerequisites for it, i don't :-(

it seems like you are interested in OOP. so go this way: OOA -OOD ->
OOP

for OOA you can use: Rumbaugh or Booch, depending on your taste as
both are very different authors. if you dont like this go ahead & ask
"Lahman" on "comp.object".

i could have suggested other books but it will take a lot of time &
talent to explore Stroustrup.

Dec 10 '06 #3
Oh, thank you both very much, I think your answers are so important to
me.
First, I think I have considered the TC++PL, and considered it to be
one that I must buy. But you see, Bjarne Stroustrup's book is too hard
to me, I mean I don't think I can handle it right now, because Mr.
Rongyao, a Chinese C++ expert, has suggested that it's a book for
advanced C++ users. I hope to buy it because nobody can explain C++
more clearly than the inventor. I'll think about it, maybe I can have a
try to use it now.

I think I prefer the functional style (because I have spent a lot time
on it), but I value the OOP a lot too. Thank you for your advice.

As a student of mapping, we create systems like GPS and GIS. But as I
know, people around me use C-style C++ and no real OOP or Generic. I
hope by studying the real C++, I can learn a better way to develop huge
system.

Again, thank you too, especially arnuld. Good day!

Dec 10 '06 #4
r
Lycan. Mao.. wrote:
Oh, thank you both very much, I think your answers are so important to
me.
First, I think I have considered the TC++PL, and considered it to be
one that I must buy. But you see, Bjarne Stroustrup's book is too hard
to me, I mean I don't think I can handle it right now, because Mr.
Rongyao, a Chinese C++ expert, has suggested that it's a book for
advanced C++ users. I hope to buy it because nobody can explain C++
more clearly than the inventor. I'll think about it, maybe I can have a
try to use it now.

I think I prefer the functional style (because I have spent a lot time
on it), but I value the OOP a lot too. Thank you for your advice.

As a student of mapping, we create systems like GPS and GIS. But as I
know, people around me use C-style C++ and no real OOP or Generic. I
hope by studying the real C++, I can learn a better way to develop huge
system.

Again, thank you too, especially arnuld. Good day!
You can probably handle Stroustrup.

I had a C background and some OOP understanding from Visual Basic and
TurboC 3. Then learned C++ by reading Stroustrup, no problem... it
seemed the next logical step. I used it as a tutorial and reference.

Dec 10 '06 #5
Oh, perfect! Thank you, I think I will take it. I'm more confident now!

Dec 11 '06 #6
First, I think I have considered the TC++PL, and considered it to be
one that I must buy.
of course, you need to if you want to do real life modern c++
programming.
But you see, Bjarne Stroustrup's book is too hard
to me, I mean I don't think I can handle it right now, because Mr.
Rongyao, a Chinese C++ expert, has suggested that it's a book for
advanced C++ users. I hope to buy it because nobody can explain C++
more clearly than the inventor. I'll think about it, maybe I can have a
try to use it now.
what makes you think that you will understand Stroustrup the first time
u will read it. well, you can if you are a child-prodigy, i am not. i
am an average man. i understood Stroustrup at 8th reading and i think
that was normal. please read and *do* every programme on your computer,
i said *every*, i said every single programme. remember it

I think I prefer the functional style (because I have spent a lot time
on it), but I value the OOP a lot too. Thank you for your advice.
majority of newbies think so, i did think that functional\procedural
style comes naturlly to me and that shows unmaturity and i speak from
experience
As a student of mapping, we create systems like GPS and GIS. But as I
know, people around me use C-style C++ and no real OOP or Generic. I
hope by studying the real C++, I can learn a better way to develop huge
system.
first of all read :

1. C++ FAQ
2. Archives of newbie questions at comp.lang.c++ and
comp.lan.c++.moderated
Again, thank you too, especially arnuld. Good day!
Oh Thank you baby, bad night ;-)

Dec 11 '06 #7
I think you are right, I must read it till I understand it.
Ok, I'll go to the FAQ.
Thank you for your help.

Dec 12 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Sandman | last post by:
Could anyone give me a tip about a good primer on object oriented php programming - why I should use it, the benefits, the drawbacks, the bugs, the glory? And, should I upgrade to php5 before...
1
by: Charles L | last post by:
Does anyone know where I can find errata for Stan Lippman's 'C++ Primer 2nd Edition'? Charles Leng
1
by: hugo | last post by:
what is L&L ,people or book?
5
by: hajime | last post by:
I purchased this book: C++ Primer, 4th Edition ISBN: 0201721481 in Australia. The right side of the last three lines on page 231 are not legible. A stain shows a piece of paper was on that part...
2
by: W. Watson | last post by:
Is there a primer out there on these two items? I have the Python tutorial, but would like either a Tkinter tutorial/primer to supplement it, or a primer/tutorial that addresses both. Maybe there's...
20
by: arnuld | last post by:
I get an error, can't find what is the problem: /* C++ Primer - 4/e * * Chapter 8, exercise 8.3 * STATEMENT * write a function that takes and returns an istream&. the function should read...
2
by: xianwei | last post by:
First, typedef struct pair { Node *parent; Node *child; } Pair; static Pair SeekItem(cosnt Item *pI, const Tree *pTree) { Pair look;
1
by: Kveldulv | last post by:
Hi all, here is the code: http://pastebin.com/m6e74d36b I'm stuck at highfink constructor, last line before #endif. As parameters, I have reference to one parent class and int member of another...
0
by: cincerite | last post by:
Hello , guys , I'm reading C++ Primer 3rd edition recently.I tried to download the errata of it from Stan Lippman's Home Page:http:// staff.develop.com/slip/ ,but it says:We're Sorry, we could not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.