473,770 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "Accelerate d 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 "Accelerate d 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 1946
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 "Accelerate d 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 "Accelerate d 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 "Accelerate d C++", I feel so good about it
(both the language and the book)
#3: you have read "Accelerate d 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 "Accelerate d 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.objec t".

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\proc edural
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++.mo derated
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
1991
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 starting to use it (to avoid two standards)? -- Sandman
1
340
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
1640
by: hugo | last post by:
what is L&L ,people or book?
5
2334
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 when printed. I checked two more local book stores around here, and found all books have the same defect. I would like to see what should be printed on the page 231. Does anybody have a complete copy tell me the last three lines ?
2
3797
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 even an O'Reilly book on both? -- Wayne Watson (Nevada City, CA) Web Page: <speckledwithStars.net>
20
2768
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 the stream untill it hits the EOF and should print what it read to the standard output. reset the stream so that it is valid and return the stream.
2
1772
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
2586
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 parent. I also have no idea how to properly solve this so some hints would be useful. tia
0
1994
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 find requested page: http://www.develop.com/hp/slip/errata_prim_3.pdf . It seems the website haven't been maintained for a long time,and the E- mail address on it is no available now. Does anyone know where I can find errata for Stan Lippman's...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10257
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10099
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.