See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.
Sams Teach Yourself C++ in 21 Days, 5/e and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

42 used & new from $7.00

Have one to sell? Sell yours here
 
 
Sams Teach Yourself C++ in 21 Days (5th Edition)
 
 
Start reading Sams Teach Yourself C++ in 21 Days, 5/e on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  

Sams Teach Yourself C++ in 21 Days (5th Edition) (Paperback)

by Jesse Liberty (Author), Bradley L. Jones (Author) "This book is designed to help you teach yourself how to program with C++..." (more)
Key Phrases: mammal constructor, cat destructor, const int age, Change Values, Workshop The Workshop, Cat Frisky (more...)
3.9 out of 5 stars See all reviews (15 customer reviews)


Available from these sellers.


15 new from $19.91 27 used from $7.00
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $28.79

Customers Who Bought This Item Also Bought

C++ Primer Plus (5th Edition)

C++ Primer Plus (5th Edition)

by Stephen Prata
4.7 out of 5 stars (65)  $37.79
C++ for Dummies

C++ for Dummies

by Stephen Randy Davis
2.7 out of 5 stars (87)  $16.49
The Elements of C++ Style (Sigs Reference Library)

The Elements of C++ Style (Sigs Reference Library)

by Trevor Misfeldt
4.5 out of 5 stars (2)  $12.47
Sams Teach Yourself C in 21 Days (6th Edition)

Sams Teach Yourself C in 21 Days (6th Edition)

by Bradley L. Jones
4.0 out of 5 stars (44)  $29.69
Beginning C++ Through Game Programming

Beginning C++ Through Game Programming

by Michael Dawson
4.0 out of 5 stars (61)  $19.79
Explore similar items

Editorial Reviews

Product Description

Join the leagues of thousands of programmers and learn C++ from some of the best. The fifth edition of the best seller Sams Teach Yourself C++ in 21 Days, written by Jesse Liberty, a well-known C++ and C# programming manual author and Bradley L. Jones, manager for a number of high profiler developer websites, has been updated to the new ANSI/ISO C++ Standard. This is an excellent hands-on guide for the beginning programmer. Packed with examples of syntax and detailed analysis of code, fundamentals such as managing I/O, loops, arrays and creating C++ applications are all covered in the 21 easy-to-follow lessons. You will also be given access to a website that will provide you will all the source code examples developed in the book as a practice tool. C++ is the preferred language for millions of developers-make Sams Teach Yourself the preferred way to learn it!



About the Author

Jesse Liberty is the author of numerous books on software development, including best-selling titles in C++ and .NET. He is the president of Liberty Associates, Inc. (http://www.LibertyAssociates.com) where he provides custom programming, consulting, and training.

Bradley Jones, Microsoft MVP, Visual C++, can be referred to as a webmaster, manager, coding grunt, executive editor, and various other things. His time and focus are on a number of software development sites and channels, including Developer.com, CodeGuru.com, DevX, VBForums, Gamelan, and other Jupitermedia-owned sites. This influence expands over sites delivering content to over 2.5 million unique developers a month.

His expertise is in the area of the big "C"s—C, C++, and C#—however, his experience includes development in PowerBuilder, VB, some Java, ASP, COBOL I/II, and various other technologies too old to even mention now. He has also been a consultant, analyst, project lead, associate publisher for major technical publishers, and author. His recent authoring credits include Sams Teach Yourself the C# Language in 21 Days, a 6th edition of Sams Teach Yourself C in 21 Days, and now this edition of Sams Teach Yourself C++ in 21 Days. He is also the cofounder and president of the Indianapolis .NET Developers Association, which is a charter INETA group with membership of over 700. You can often hear his ramblings on the CodeGuru.com or VBForums.com discussion forums, and he also does the weekly CodeGuru newsletter that goes out to tens of thousands of developers.


© Copyright Pearson Education. All rights reserved.



See all Editorial Reviews

Product Details

  • Paperback: 936 pages
  • Publisher: Sams; 5 edition (December 24, 2004)
  • Language: English
  • ISBN-10: 0672327112
  • ISBN-13: 978-0672327117
  • Product Dimensions: 9.1 x 7.3 x 2.2 inches
  • Shipping Weight: 3.1 pounds
  • Average Customer Review: 3.9 out of 5 stars See all reviews (15 customer reviews)
  • Amazon.com Sales Rank: #221,096 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #28 in  Books > Computers & Internet > Programming > C > Tutorials

Inside This Book (learn more)

Citations (learn more)
This book cites 1 book:


Books on Related Topics (learn more)
 
Computer Systems by J. Stanley Warford
 

What Do Customers Ultimately Buy After Viewing This Item?

Sams Teach Yourself C++ in 21 Days (5th Edition)
58% buy the item featured on this page:
Sams Teach Yourself C++ in 21 Days (5th Edition) 3.9 out of 5 stars (15)
Sams Teach Yourself C++ in One Hour a Day (6th Edition)
22% buy
Sams Teach Yourself C++ in One Hour a Day (6th Edition) 4.4 out of 5 stars (9)
$31.49
C++ Primer Plus (5th Edition)
11% buy
C++ Primer Plus (5th Edition) 4.7 out of 5 stars (65)
$37.79
Sams Teach Yourself C in 21 Days (6th Edition)
5% buy
Sams Teach Yourself C in 21 Days (6th Edition) 4.0 out of 5 stars (44)
$29.69

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

 

Customer Reviews

15 Reviews
5 star:
 (8)
4 star:
 (2)
3 star:
 (3)
2 star:    (0)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
3.9 out of 5 stars (15 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
24 of 25 people found the following review helpful:
5.0 out of 5 stars Excellent Coverage, but examples can be rather bland..., July 12, 2006
By Ashraf Eassa "Ash" (New Hampshire, USA) - See all my reviews
  
I've always been rather hesitant to read programming books with titles that imply a sacrifice of depth for gained ease in learning, but this book is a very well done and complete treatment of the fundamentals of the C++ language.

It assumes no previous knowledge -- just a willingness to learn. It begins with "Hello, World", the classic example first introduced in the K&R C book, and then continues for the next few "days" to cover the funamental C aspects such as basic I/O, variables, functions, branching, data types, and operators.

After that preliminary information is covered, the authors begin showing basic class useage -- the general form of a class, constructors, destructors, data members, and member functions.

In the final "day" of the "week", control statements (for, do...while, switch, etc.) are given a good, and thorough treatment.

The next "week" moves on to more advanced concepts such as pointers, reference variables, function overloading, inheritance, and polymorphism. By the end of this week, you will be pretty proficient, and probably ready to implement more substantial projects, however, the book still covers more.

In the last week, other, more advanced, concepts are introduced such as friend functions, file manipulation, low level bit manipulation, and a lot more to help you become a master of this beast of a language.

This book also goes through each and every example program and provides a thorough analysis -- so you're never left in the dark as to what a program is doing or how.

This work does have some shortcomings, but they're not that significant. Yes, some of the example programs are extremely boring and you're left thinking whether you should bother entering and compiling them. Sometimes explanations are offered for the most trivial of concepts in programs, but overall, it's a great book at a great price.

In short, if you want to learn C++ and you want to learn it thoroughly, then this is your book!
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
14 of 15 people found the following review helpful:
3.0 out of 5 stars An interesting book overall, September 2, 2005
Teach Yourself C++ in 21 days (Sams) is a quite good candidate for anyone looking for an introductory book on C++. It not only represents a smooth introduction to the language basics, but also offers valuable advice on good programming and design practices. I especially liked the Q&A section at the end of each chapter.
What differentiates it from similar introductory C++ books is the way the material is laid out. After covering the langugage syntax the authors try to put forward what they consider easier to understand. This makes it easier for the reader, although the book cannot be used as a reference.
There are numerous code examples, which are compact, well structured and easy to follow and understand.
However, there are a few things that I believe could definetely be improved. First and foremost templates and the STL are not covered until Day 19, which means that all the code samples until then use the old C libraries. My opinion is that since templates represent a whole new programming paradigm, they have to be introduced much earlier, although they can be a bit difficult to grasp. Not only that, but the code uses deprecated headers mixed with standard library headers (e.g. 13.12 - p.435, 13.7 - p.423); it is more natural to use <cstring> than <string.h> at least.
Also assertions should definetely be introduced earlier and used in the code samples.The custom string class bound checking should report error (assert) when out of bounds and not return the last element! (13.14 - p.437).
Moreover I consider function pointers a not so important topic to be covered on Day 15. I would prefer to see it in an Appendix, near deprecated features really. Chapter titles should probably be revised too. E.g. Day 16 is named "Advanced Inheritance", but aggregation which is covered there is not actually inheritance. The chapter would be better named "Other class relationships", or even better "Aggregation" and cover only aggregation.
I also believe it is important to pair each new() with a delete (e.g. 12.10 - p.398) even though the program ends. This is a very important programming habit that someone should get used to very early.
Overall I believe that this book, although it has some weak points, has much to offer to someone that starts learning C++.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 12 people found the following review helpful:
4.0 out of 5 stars Complete in content..., December 11, 2005
The book deals with C++ and related nuances exhaustively. For a beginner, this book can also make a good reference if all he wishes to read about is specific language related details.

The authors have taken care to be elaborate, and have presented concepts such as pointers, constants, and streams lucidly - to name a few.

I would like to see a re-arrangement of content in the next version. For example: the chapter on OOAD comes too early - even before Inheritance (and Polymorphism) in C++ has been introduced. Similarly, templates are discussed in detail before macros have been introduced. Some exercises that are very lengthy can be broken into smaller /simpler ones.

My advise to a beginner would be to focus on the content he is able to grasp, and keep the rest for another reading. Yes, this is a book that can be read more than once as it deals with topics that are a beginner's level and beyond (which in my opinion is good).
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars great book for reveiwing and for newbies
This book is perfect for someone new to c++ programming it this book isnt as bland and boring as most programming books not that programming is boring hehe it goes more in depth... Read more
Published 2 months ago by Ravae J. Smith

5.0 out of 5 stars Excellent resource!
This book has been very helpful to me. It has clear explanations, well thought out examples and the occasional bit of comic relief. Read more
Published 11 months ago by J. D. Weber

5.0 out of 5 stars Quick Opinion
A friendly easy to read book that makes the intimidating task of learning how to program a lot less daunting.
Published 15 months ago by William B. Fix

5.0 out of 5 stars Great value for the money and practical learning material !
This is yet another fine book that I've added to my collection. I use it mainly as a reference but it is certainly an excellent teaching guide as well. Read more
Published 16 months ago by Mark Burrell

3.0 out of 5 stars Recommended with caveats
I have programmed for years but never in a modern object-oriented language and I wish to maintain a C++ project. So I purchased this book. Read more
Published 18 months ago by Alan Mead

5.0 out of 5 stars Fantastic guide
With over 10 years experience in C++, I found this book to be an excellent review of the core language. Read more
Published 22 months ago by R. Bradley

1.0 out of 5 stars Missing the newest C++ coding techniques
The book does not utilize the standard <string> class in most cases, instead it uses the "C" style <Cstring> class or creates it's own "String" class. Read more
Published on February 19, 2007 by Jon B. King

4.0 out of 5 stars It's in-your-face tech knoledge.
I found the information good, accurate, and intensely stuffed into the twenty one days. It's a good book.
Published on March 15, 2006 by D. Calhoun

5.0 out of 5 stars Very Good For Learning The Basics
Not sure about 21 days, but I started with C++ Primer Plus. I would now recommend starting with C++ In 21 Days and then moving to the forementioned.
Published on March 9, 2006 by Dean Bonkovich

5.0 out of 5 stars Good Beginner C++ Book
This book covers the fundamentals of standard c++ for the beginner very well and also provides a good guide for the more experienced programmer coming from another language who is... Read more
Published on November 11, 2005 by buzz_coder

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
  Discussion Replies Latest Post
C# or Java? 32 9 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Discover Oregon

Garmin Oregon at Amazon.com
You'll find that on the trail, the new Garmin Oregons exchange waypoints, tracks, and geocaches with other Oregon and Colorado units.

Shop all Garmin

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Hilti Professional Tools

Shop for Hilti products
Hilti is a global leader of value-added, top-quality products for professional customers in the construction and building maintenance industries.

Shop for Hilti products now

 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
Free
Free by Chris Anderson
Glenn Beck's Common Sense
My Soul to Lose
My Soul to Lose by Rachel Vincent

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates