Math.com Store
 Location:  Home » Math Books » C++ Primer (4th Edition)  

C++ Primer (4th Edition)

C++ Primer (4th Edition)Authors: Stanley B. Lippman, Josée Lajoie, Barbara E. Moo
Publisher: Addison-Wesley Professional

List Price: $59.99
Buy New: $34.69
as of 11/25/2009 04:25 CST details
You Save: $25.30 (42%)



New (39) Used (19) from $29.90

Seller: new_books_today
Rating: 4.0 out of 5 stars 142 reviews
Sales Rank: 15759

Media: Paperback
Edition: 4
Pages: 912
Number Of Items: 1
Shipping Weight (lbs): 3
Dimensions (in): 9.1 x 7 x 1.8

ISBN: 0201721481
Dewey Decimal Number: 005.133
EAN: 9780201721485
ASIN: 0201721481

Publication Date: February 24, 2005
Availability: Usually ships in 1-2 business days

Also Available In:

  • Paperback - C++ Primer
  • Paperback - C++ Primer (2nd Edition)
  • Paperback - C++ Primer (3rd Edition)

Similar Items:


Editorial Reviews:

Amazon.com Review
This new edition of C++ Primer, a favorite choice for a first C++ book, has been greatly improved with the latest and greatest on C++, stressing the built-in language features of the C++ Standard Library. For this new version--weighing in at a massive 1,237 pages--Stanley Lippman, a well-known C++ expert, teams up with Josée Lajoie, who has helped define the C++ international language standard. The new material is excellent for programmers who want to get the most out of new and advanced features in the language.

The authors still introduce the basics of C++, including data types and pointers, but quickly move on to stress how to get the most out of the built-in features of ISO-standard C++. Throughout this book built-in support for the C++ Standard Library, such as container classes like vectors and maps, and other standard features, such as the string class, are integrated into a tried-and- proven basic-language tutorial.

The major new features of C++ (templates, name spaces, and run-time type identification) all get their due. The result is an authoritative guide to basic and advanced C++ in a clear and readable style, with plenty of short, practical examples throughout the text. The book includes exercises--some quite challenging--for every section: a perfect choice both for self-study and the classroom. --Richard Dragan

Product Description

"C++ Primer is well known as one of the best books for learning C++ and is useful for C++ programmers of all skill levels. This Fourth Edition not only keeps this tradition alive, it actually improves on it."
--Steve Vinoski, Chief Engineer, Product Innovation, IONA Technologies

"The Primer really brings this large and complex language down to size."
--Justin Shaw, Senior Member of Technical Staff, Electronic Programs Division, The Aerospace Corporation

"[It] not only gets novices up and running early, but gets them to do so using good programming practices."
--Nevin ":-)" Liber, Senior Principal Engineer (C++ developer since 1988)

This popular tutorial introduction to standard C++ has been completely updated, reorganized, and rewritten to help programmers learn the language faster and use it in a more modern, effective way.

Just as C++ has evolved since the last edition, so has the authors' approach to teaching it. They now introduce the C++ standard library from the beginning, giving readers the means to write useful programs without first having to master every language detail. Highlighting today's best practices, they show how to write programs that are safe, can be built quickly, and yet offer outstanding performance. Examples that take advantage of the library, and explain the features of C++, also show how to make the best use of the language. As in its previous editions, the book's authoritative discussion of fundamental C++ concepts and techniques makes it a valuable resource even for more experienced programmers.

Program Faster and More Effectively with This Rewritten Classic
  • Restructured for quicker learning, using the C++ standard library
  • Updated to teach the most current programming styles and program design techniques
  • Filled with new learning aids that emphasize important points, warn about common pitfalls, suggest good programming practices, and provide general usage tips
  • Complete with exercises that reinforce skills learned
  • Authoritative and comprehensive in its coverage



Customer Reviews:
Showing reviews 1-5 of 142
1 2 3 4 5 6 ...29Next »



4 out of 5 stars Prime me Up!   June 11, 2009
J. Martin (Iowa, USA)
C++ Primer - Fourth Edition has a really effective way of teaching you the C++ programming language-full detail of what every bit of code does. Have you ever looked at C++ code and had no idea what all of it meant? This book will teach you every single bit of what that code does.

The book is laid out in approximately 17 different chapters which are then divided into an average of 9-15 sections. Each chapter is focused on one key subject such as the begining steps and more advanced techniques to use your code. Within those chapters you have each section slowly explaining in detail what each bit of code you're seeing is doing.

Now as I've said before, this book explains every bit of code in detail, but this doesn't mean that this book isn't for just beginners. The books cover states that over 48,000 programmers have learned the coding language from beginners to more advanced.

About every other page contains tips and secrets to successful coding which stand out in gray boxes. Some of the most smallest things are mentioned here such as how comments work in your code to how your code should be formatted. These tips will help you inprove your coding habits very much.

Now you're probably thinking, "This is just another one of those reviews which show each good part of the book. It's not like they're going to give me any info on weak parts of the book!", Well in fact you're wrong. This book isn't all positive. There's some parts in this book which can be very annoying such as lacking a glossary of needed terms even though most terms are put in bold print. There are very good examples of code in this book, but not all of them are the most interesting. Reading this book can be very monotonous at times because of the lack of different things they mention you can code or give you examples of code.

How about the strong points? In depth explanations, great examples, great tips, need I say more? This book has a lot of good points to it, there are very few weak points. I would recommend this book to anyone wanting a good C++ reference manual.



5 out of 5 stars Advanced C++ Primer   June 6, 2009
some_quant
In my opinion, this book is the best C++ primer available. It is very technical and intense introduction to C++ fundamentals. Most of the essential C++ facilities are discussed in detail and illustrated using complete (compilable) code samples. There are many very good exercises throughout the book, which nicely complement the main text. Unfortunately, the answers to exercises aren't available. I suggest to get the 3rd edition as well (it costs only few $$$ by now), because it has the answer book book by Tondo and Leung. Most of the exercises in 3rd and 4th editions are the same, except chapter numbers.


4 out of 5 stars A very good primer for C++   May 16, 2009
Yuanchyuan Sheu (USA)
1 out of 1 found this review helpful

I think an introduction book is not only good for the beginners. It is good for the experienced to pick up from time to time as well. From a more seasoned programmer's point of view, it is fairly easy to go through the book from cover to cover (just to scan through and not line by line, of course). The key is to review the structure of the way the author presents the language and the techniques. I personally find it both useful and entertaining doing a review like that once in a while.

I believe that it would be more difficult to write a good introductory book in C++ than an in depth monograph. The thing is that there are so many things in C++ and you will have to be very selective in what to include and you have to be very careful about how to present it in a way that the beginners will be able to follow and appreciate. This is the same as writing an introduction to any subject, only the best authors can do a good job and quite frankly, I think it is a job only the most experience authors should tackle. In that perspective, this volume is indeed quite good in that the scope it is trying to cover is quite complete and that it covers the material very well.

However, I personally prefer another book that is even more focused on the most important aspects of C++ and will be able to bring the beginners up to speed even quicker. Please try "Accelerated C++" by Andrew Koenig and Barbara E. Moo. That would be my 5 star selection.



4 out of 5 stars Great C++ book only if ...   May 10, 2009
C. Jiakai
I would like to say this is a great C++ book only for those who:

1. want to write serious C++ code, instead of "Hello World";
and 2. already know some C;
and 3. want to focus on those C++ specific features;
and 4. want to have only ONE C++ book, rather than a group of books.

C++ is a complex language, and this book reflects it. Some concepts, such as vector, are discussed in the earlier stage of the content, and mentioned again later in the book. And content about the modifier const are scattered around page 50ish, ~180, ~250, and page 400ish. This does frustrate people (including me) who want to use this book as a reference.

However the authors did it on purpose: they want to make the learning curve less steep. I start to appreciate it after I have spent some time read the book carefully and tried running sample C++ code. For example, the const modifier has some profound effects on variable, reference, pointers, objects and in argument passing. It also impacts the performance of function call: you just can not put all of these in one section.



3 out of 5 stars Problem and no response from the author   March 9, 2009
Satish P. Singhal (Torrance, CA United States)
1 out of 5 found this review helpful

On page 471 in gray note the authors say this:
"When a const static data member is initialized in the class body, the data member must still be defined outside the class definition".

I am sure that authors have stated C++ specification accurately. However, what about compiler compatibility? The above statement is simply UNTRUE if you use Visual Studio(VS) 2005 or 2008. And the fact that senior author actually works for Microsoft corporation (Who makes VS 205 and 2008) make this omission more grave.

I sent my sample code to prove lack of applicability of the above statement. I got no response. So I am putting it out here. Here is my sample code. When the line as per note on page 471 is added the program gives the following link error:
Error 1 error LNK2005: "private: static int const Foo::data" (?data@Foo@@0HB) already defined in StaticTests.obj DriverStaticTests.obj


//Header file code below
#pragma once
#include
#include
using namespace std;
class Foo
{
private:
const static int data = 10;
int arr[data];
public:
static int getData();
Foo();
void printArray(ostream & os = cout)const;
};
//cpp file code below
#pragma once
#include "StaticTest.h"
#include
using namespace std;
//const int Foo::data;//When uncommented, this will give linker error
int Foo::getData()
{
return data;
}
Foo::Foo()
{
for(int i = 0; i {
arr[i] = 0;
}
}

void Foo::printArray(ostream & out)const
{
for(int i = 0; i {
out< }
out<}
//Driver code below
#pragma once
#include
#include
#include "StaticTest.h"
using namespace std;

int main()
{
cout< Foo F;
F.printArray();


return 0;
}
/*
output from above program is
10
0 0 0 0 0 0 0 0 0 0
*/


Showing reviews 1-5 of 142
1 2 3 4 5 6 ...29Next »





Disclaimer

Return to Math.com
Sponsored Links
Math Jobs


Quick Links
Return to Math.com
Math Tutoring
Top Selling Electronics
Textbooks
Math Jobs
Privacy
Categories
Calculators
Math Books
Math DVD
Math Games
Math Toys
Math Software
Game Systems
Math Apparel
Subcategories
Paperback
Mass Market
Trade
Related Categories
• Programming Languages
Computer Science
New & Used Textbooks
Custom Stores
Specialty Stores
• General AAS
Computer Science
New & Used Textbooks
Custom Stores
Specialty Stores
• General AAS
New & Used Textbooks
Custom Stores
Specialty Stores
Books
• Textbooks Trade-In
Specialty Stores
Books
• C & C++ Windows Programming
Development
Microsoft
Computers & Internet
Subjects
• General
Languages & Tools
Programming
Computers & Internet
Subjects
• General
C
Programming
Computers & Internet
Subjects
• General
Programming
Computers & Internet
Subjects
Books
• General
Software
Computers & Internet
Subjects
Books
• Paperback
Binding (binding)
Refinements
Books
• Printed Books
Format (feature_browse-bin)
Refinements
Books