Programming: Principles and Practice Using C++ (2nd Edition) and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
Trade in Yours
For a £12.18 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading Programming: Principles and Practice Using C++ (2nd Edition) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Programming: Principles and Practice Using C++ [Paperback]

Bjarne Stroustrup
4.7 out of 5 stars  See all reviews (3 customer reviews)
RRP: £47.56
Price: £37.59 & FREE Delivery in the UK. Details
You Save: £9.97 (21%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 26 Oct.? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition £25.29  
Paperback £37.59  
Trade In this Item for up to £12.18
Trade in Programming: Principles and Practice Using C++ for an Amazon Gift Card of up to £12.18, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

15 May 2014 0321992784 978-0321992789 2

An Introduction to Programming by the Inventor of C++


Preparation for Programming in the Real World

The book assumes that you aim eventually to write non-trivial programs, whether for work in software development or in some other technical field.


Focus on Fundamental Concepts and Techniques

The book explains fundamental concepts and techniques in greater depth than traditional introductions. This approach will give you a solid foundation for writing useful, correct, maintainable, and efficient code.


Programming with Today’s C++ (C++11 and C++14)

The book is an introduction to programming in general, including object-oriented programming and generic programming. It is also a solid introduction to the C++ programming language, one of the most widely used languages for real-world software. The book presents modern C++ programming techniques from the start,

introducing the C++ standard library and C++11 and C++14 features to simplify programming tasks.


For Beginners—And Anyone Who Wants to Learn Something New

The book is primarily designed for people who have never programmed before, and it has been tested with many thousands of first-year university students. It has also been extensively used for self-study. Also, practitioners and advanced students have gained new insight and guidance by seeing how a master approaches the elements of his art.


Provides a Broad View

The first half of the book covers a wide range of essential concepts, design and programming techniques, language features, and libraries. Those will enable you to write programs involving input, output, computation, and simple graphics. The second half explores more specialized topics (such as text processing, testing, and the C programming language) and provides abundant reference material. Source code and support supplements are available from the author’s website.


Special Offers and Product Promotions

  • Between 20-26 October 2014, spend £10 in a single order on item(s) dispatched from and sold by and receive a £2 promotional code to spend in the Amazon Appstore. Here's how (terms and conditions apply)

Frequently Bought Together

Programming: Principles and Practice Using C++ + The C++ Programming Language + A Tour of C++ (C++ In-Depth)
Price For All Three: £88.87

Buy the selected items together

Product details

  • Paperback: 1312 pages
  • Publisher: Addison Wesley; 2 edition (15 May 2014)
  • Language: English
  • ISBN-10: 0321992784
  • ISBN-13: 978-0321992789
  • Product Dimensions: 18.5 x 4.6 x 22.9 cm
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: 21,391 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Bjarne Stroustrup is the designer and original implementer of C++, as well as the author of The C++ Programming Language, Fourth Edition (Addison-Wesley, 2013), and A Tour of C++ (Addison-Wesley, 2014) and many popular and academic publications. Dr. Stroustrup is a managing director at Morgan Stanley in New York City, as well as a visiting professor at Columbia University and a Research distinguished professor at Texas A&M University. He is a member of the U.S. National Academy of Engineering, an IEEE Fellow, and an ACM fellow. His research interests include distributed systems, design, programming techniques, software development tools, and programming languages. He is actively involved in the ISO standardization of C++.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

3 star
2 star
1 star
4.7 out of 5 stars
4.7 out of 5 stars
Most Helpful Customer Reviews
4.0 out of 5 stars Wordy but worth it. 23 Oct 2014
By Anthony
Can be quite wordy and boring, but a better resource you will not find.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Five Stars 10 Sep 2014
Format:Paperback|Verified Purchase
Great reference book for anyone doing C++, including beginners.
Comment | 
Was this review helpful to you?
0 of 1 people found the following review helpful
5.0 out of 5 stars Worth every penny 6 July 2014
Format:Paperback|Verified Purchase
Brilliant book; takes you through the compilaton process from start to finish in well presented tuition form.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 3.8 out of 5 stars  16 reviews
28 of 28 people found the following review helpful
5.0 out of 5 stars Great Book for someone starting with Programming and C++ 28 May 2014
By IBLUES - Published on
Format:Paperback|Verified Purchase
If you are new to programming, this is your book. If you are new to C++ but knows how to program, you may want to considered this book or C++ Primer.
I think this is an ideal book for Programming I class as well.
It covered the topic well organized and detailed for someone to follow them in a classroom or by themselves. Notice that some people will prefer C++ Primer.
If you have C++ The Programming language, you will not gain anything major with this book. If you already know C++ and have solid concepts about programming, this is not a book for you.
My review is for someone that will start programming or will start c++. for this, I give the book 5 stars.
16 of 16 people found the following review helpful
5.0 out of 5 stars Demonstrates the new features of C++11/14 impeccably. 25 May 2014
By Bud Alverson - Published on
The new features of C++11 (especially copy and move construction) are highlighted and demonstrated very well in the chapters relating how to implement a Vector class.

In my opinion, Dr. Stroustrup has aptly complimented his tour de force of The C++ Programming Language, 4th Edition with this wonderful rewrite of "Programming: Principles and Practice Using C++". Aimed squarely at the complete novice it is at once a remarkably approachable, yet highly thorough introduction to the craft of software programming that also just happens to use C++ as it's language of choice.

Highly recommended as a first textbook on learning how to program software.
9 of 9 people found the following review helpful
5.0 out of 5 stars Good book now that the header file has been updated! 3 Jun 2014
By Luke - Published on
Format:Paperback|Verified Purchase
The book itself is great so far. I'm in chapter four and the language is very accessible. It doesn't dumb things down, but it also doesn't use lofty language that feels like you're being talked down to.

SNEAKY EDIT: The header file was updated today (June 8) and now the examples compile as expected. Everything below this line should be IGNORED and it only left so that the comments have context. You should no longer have any fear of the header file! Great book, updated rating accordingly.


My rating is based on the fact that you can't follow along with the examples and expect them to compile. The book tells you that it requires a special header file, but that file hasn't been updated since 2010 and I suspect enough has changed in the second edition of the book that the header file is no longer applicable.

Once you hit the chapter on vectors, you'll encounter errors with vector initializer lists (in both g++ and Visual Studio) and the sort() function being used. If you skip using the header the book tells you and directly use iostream and vector header files, initializer lists work as expected, which leads to my assumption that the required std_lib_facilities.h file is to blame. Sort() still doesn't work, though, so I assume that's some kind of custom function that's meant to be included but isn't available in the support files.

There are also some holdovers from the first edition that don't apply to the second edition. In the end of chapter review on vectors, it includes terms that were not defined in this edition of the book (but were defined in the first edition). These include terms necessary to use sort() correctly.

So until the support header file is up to snuff, I wouldn't recommend absolute beginnings start with the second edition. Basic examples won't compile and you'll likely be frustrated.
7 of 7 people found the following review helpful
5.0 out of 5 stars Opinion of an aspiring programmer 15 July 2014
By Jakub Niemiec - Published on
When I first saw this book arrive through the mailbox I honestly didn't know if I had it in me to survive through over 1000 pages of instructions and descriptions of the C++ programming language. But as I started reading I was impressed at the way that this book eases into the language, with each chapter additional contexts were covered in depth however adhering to the learning curve throughout the book making it a pleasant read.
Instructions are easy to follow and clearly laid out making the book a friendly study resource, I know virtually nothing about programming but the book explains the concepts very nicely and in a friendly manner. I like the way in which the chapters are organised, the complexity of the content increases with every chapter but all the concepts are referred to for easy refresh of memory.
This book provides you with a range of examples and strategies for writing good code and I would definitely recommend it to someone who is dedicated to pursuing their dream of being able to program, this book will give you a solid understanding of the structure of C++ along with good and well rounded knowledge about the language and its common practices.
If you want to learn how to program in C++ then this is truly your go-to book, who would be a better teacher than a father of C++?
I strongly recommend this for those who are new to the topic like myself!
6 of 6 people found the following review helpful
5.0 out of 5 stars You should read this! 8 July 2014
By Mostafa Nategh - Published on
This is an educational book, written by a great teacher, who also happens to be the inventor of C++ and the major contributer to it, and who happens to be one of the most precise authors you can read. This text, like his other ones, is written in a very precise language, and it deserves to be read with the same level of precision.

But if you want to learn programming, and if you have chosen C++ as your starting point, there are other reasons to read this book. This book doesn't merely teach you to code, but also a good deal of software design strategies, engineering concepts and principles and good taste. Yet, (and this is extremely rare), THIS BOOK IS NOT BORING. You can find good humor in many places in the book, not just at the beginning. Take this example from section 5.9:

"When you have written (drafted?) a program, it’ll have errors. Small programs do occasionally compile and run correctly the first time you try. But if that happens for anything but a completely trivial program, you should at first be very, very suspicious. If it really did run correctly the first time, go tell your friends and celebrate — because this won’t happen every year."

In short, this is a rare treasure. You get the feeling that Bjarne is standing in front of you and narrating for you, with his particular accent and his elaborate vocabulary. Read it, do the drills and exercises, and internalize it!

This book, however, may not be the greatest reference for C++. For that purpose, perhaps pick "The C++ Programming Language", from the same author. That book is not quite as fun to read from cover to cover, but a more handy reference. That said, if you invest time in reading this book ("Programming...") and doing the exercises, it can very well become the reference you can rely on, basically because you learned the language features from it.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category