Buy new:
$68.00
FREE delivery: March 20 - 22
Ships from: Simplicity WE DELIVER FASTER THAN ESTIMATED
Sold by: Simplicity WE DELIVER FASTER THAN ESTIMATED
List Price: $74.99 Details

The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
Save: $6.99 (9%)
FREE delivery March 20 - 22. Details
Or fastest delivery March 19 - 21. Order within 9 hrs 49 mins. Details
Only 1 left in stock - order soon.
$$68.00 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$68.00
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Get Fast, Free Shipping with Amazon Prime
FREE delivery Monday, March 25 on orders shipped by Amazon over $35
Used: Acceptable | Details
Sold by Art Brody
Condition: Used: Acceptable
Comment: Fast shipping + tracking ID with Amazon Prime and a 100% hassle-free guaranteed return policy. This is a solid used copy. Cover has some creases on it and there is a stamp on the inside cover. Despite its flaws, all pages are present and completely readable.
Access codes and supplements are not guaranteed with used items.
Other Sellers on Amazon
Added
$64.12
+ $4.95 shipping
Sold by: Walrus Book Co.
Sold by: Walrus Book Co.
(2974 ratings)
90% positive over last 12 months
In Stock
Shipping rates and Return policy
Loading your book clubs
There was a problem loading your book clubs. Please try again.
Not in a club? Learn more
Amazon book clubs early access

Join or create book clubs

Choose books together

Track your books
Bring your club to Amazon Book Clubs, start a new book club and invite your friends to join, or find a club that’s right for you for free.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Programming: Principles and Practice Using C++ 1st Edition

4.3 4.3 out of 5 stars 151 ratings

There is a newer edition of this item:

{"desktop_buybox_group_1":[{"displayPrice":"$68.00","priceAmount":68.00,"currencySymbol":"$","integerValue":"68","decimalSeparator":".","fractionalValue":"00","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"NE55f166KoTLuC4Ul%2BXbcoyi3IpxsAMYqq1B2vaArG0VOuqRYLf2wYmkEdMuA5GRF2u3pPv26cM%2BMWjgRYlguEhwSrnFX6EOH6NtYTTR0LvuTIzv7QFKiGE2zL6%2B%2BuCLGpvtS4swQlqrRHnBNe9goSHbF4lXNn7EE5kiNUhADT236T39kksSdw%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$13.93","priceAmount":13.93,"currencySymbol":"$","integerValue":"13","decimalSeparator":".","fractionalValue":"93","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"NE55f166KoTLuC4Ul%2BXbcoyi3IpxsAMYZCHPh7Kb%2FNBxw7t0vbCMpKGojufyd4hGmkOvV2FwVF7JMpHpfRtfOZ3tKFI7f0L1Z%2BMkizsXfiwehtsXFQrhnkIxwaMr9mtOgDMhuB9OMQ9aizTZkbLNreVQWOeqrlv3BeIe58QYd9rX7AVAxXKZ1MPAyXzFdngA","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons


Amazon First Reads | Editors' picks at exclusive prices

Editorial Reviews

About the Author

Bjarne Stroustup is the College of Engineering Chair in Computer Science Professor at Texas A&M University.

Bjarne Stroustrup is the designer and original implementer of C++, the author ofThe C++ Programming Language, The Annotated C++ Reference Manual, andThe Design and Evolution of C++, and the consulting editor of Addison-Wesley'sC++ In-Depth Series. Having previously worked at Bell Labs and AT&T Labs-Research, he currently is the College of Engineering Chair in Computer Science Professor at Texas A&M University. The recipient of numerous honors, including theDr. Dobb's Excellence in Programming Award (2008), Dr. Stroustrup is a member of the National Academy of Engineering, an AT&T Fellow, an AT&T Bell Laboratories Fellow, an IEEE Fellow, and an ACM Fellow. His research interests include distributed systems, simulation, design, programming techniques, software development tools, and programming languages, and he remains actively involved in the ANSI/ISO standardization of C++. Dr. Stroustrup holds an advanced degree from the University of Aarhus in his native Denmark and a Ph.D. in Computer Science from Cambridge University, England.

Excerpt. © Reprinted by permission. All rights reserved.

Damn the torpedoes! Full speed ahead.
—Admiral Farragut

Programming is the art of expressing solutions to problems so that a computer can execute those solutions. Much of the effort in programming is spent finding and refining solutions. Often, a problem is only fully understood through the process of programming a solution for it.

This book is for someone who has never programmed before, but is willing to work hard to learn. It helps you acquire the principles and practical skills of programming using the C++ programming language. My aim is for you to gain sufficient knowledge and experience to perform simple useful programming tasks using the best up-to-date techniques. How long will that take? As part of a first-year university course, you can work through this book in a semester (assuming that you have a workload of four courses of average difficulty). If you work by yourself, don’t expect to spend less time than that (maybe 15 hours a week for 14 weeks).

Three months may seem a long time, but there’s a lot to learn and you’ll be writing your first simple programs after about an hour. Also, all learning is gradual: each chapter introduces new useful concepts and illustrates them with examples inspired by real-world uses. Your ability to express ideas in code — getting a computer to do what you want it to do — gradually and steadily increases as you go along. I never say “learn a month’s worth of theory and then see if you can use it.”

Why would you want to program? Our civilization runs on software. Without understanding software you are reduced to believing in “magic” and will be locked out of many of the most interesting, profitable, and socially useful technical fields of work. When I talk about programming, I think of the whole spectrum of computer programs from personal computer applications with GUIs (Graphical User Interfaces), through engineering calculations and embedded system control applications (such as digital cameras, cars, and cell phones), to text manipulation applications as found in many humanities and business applications. Like mathematics, programming — when done well — is a valuable intellectual exercise that sharpens our ability to think. However, thanks to feedback from the computer, programming is more concrete than most forms of math, and therefore accessible to more people. It is a way to reach out and change the world — hopefully for the better. Finally, programming can be great fun.

Why C++? You can’t learn to program without a programming language and C++ directly supports the key concepts and techniques used in real-world software. C++ is one of the most widely used programming languages, found in an unsurpassed range of application areas. You find C++ applications everywhere from the bottom of the oceans to the surface of Mars. C++ is precisely and comprehensively defined by a non-proprietary international standard. Quality and/or free implementations are available on every kind of computer. Most of the programming concepts that you will learn using C++ can be used directly in other languages, such as C, C#, Fortran, and Java. Finally, I simply like C++ as a language for writing elegant and efficient code.

This is not the easiest book on beginning programming; it is not meant to be. I just aim for it to be the easiest book from which you can learn the basics of real-world programming. That’s quite an ambitious goal because much modern software relies on techniques considered advanced just a few years ago.

My fundamental assumption is that you want to write programs for the use of others, and to do so responsibly providing a decent level of system quality. That is, I assume that you want to achieve a level of professionalism. Consequently, I chose the topics for this book to cover what is needed to get started with real-world programming, not just what is easy to teach and learn. If you need a technique to get basic work done right, I’ll describe it, demonstrate concepts and language facilities needed to support the technique, provide exercises for it, and expect you to work on those exercises. If you just want to understand toy programs, you can get along with far less than I present. On the other hand, I won’t waste your time with material of marginal practical importance. If an idea is explained here, it’s because you’ll almost certainly need it.

If your desire is to use the work of others without understanding how things are done and without adding significantly to the code yourself, this book is not for you. If so, please consider if you would be better served by another book and another language. If that is approximately your view of programming, please also consider from where you got that view and whether it in fact is adequate for your needs. People often underestimate the complexity of programming as well as its value. I would hate for you to acquire a dislike for programming because of a mismatch between what you needed and the part of the software reality I describe. There are many parts of the “Information Technology” world that do not require knowledge of programming. This book is aimed to serve those who do want to write nontrivial programs.

Because of its structure and practical aims, this book can also be used as a second book on programming for someone who already knows a bit of C++ or for someone who programs in another language and wants to learn C++. If you fit into one of those categories, I refrain from guessing how long it will take you to read this book, but I do encourage you to do many of our exercises. This will help you to counteract the common problem of writing programs in older, familiar, styles rather than adopting newer techniques where these are more appropriate. If you have learned C++ in one of the more traditional ways, you’ll find something surprising and useful before you reach Chapter 7. Unless your name is Stroustrup, what I discuss here is not “your father’s C++.”

Programming is learned by writing programs. In this, programming is similar to other endeavors with a practical component. You cannot learn to swim, to play a musical instrument, or to drive a car just from reading a book — you must practice. Nor can you learn to program without reading and writing lots of code. This book focuses on code examples closely tied to explanatory text and diagrams. You need those to understand the ideals, concepts, and principles of programming and to master the language constructs used to express them. That’s essential, but by itself, it will not give you the practical skills of programming. For that, you need to do the exercises and get used to the tools for writing, compiling, and running programs. You need to make your own mistakes, and learn to correct them. There is no substitute for writing code. Besides, that’s where the fun is!

On the other hand, there is more to programming — much more — than following a few rules and reading the manual. This book is emphatically not focused on “the syntax of C++.” Understanding the fundamental ideals, principles, and techniques is essence of a good programmer. Only well-designed code has a chance of becoming part of a correct, reliable, and maintainable system. Also, “the fundamentals” are what lasts: they will still be essential after today’s languages and tools have evolved or been replaced.

What about computer science, software engineering, information technology, etc.? Is that all programming? Of course not! Programming is one of the fundamental topics that underlie everything in computer-related fields and has a natural place in a balanced course of computer science. I provide brief introductions to key concepts and techniques of algorithms, data structures, user interfaces, data processing, and software engineering. However, this book is not a substitute for a thorough and balanced study of those topics.

Code can be beautiful as well as useful. This book is written to help you see that, to understand what it means for code to be beautiful and to help you to acquire the principles and practical skills to create such code. Good luck with programming!

A note to students

Of the 1,000++ first-year students we have taught so far using drafts of this book at Texas A&M University, about 60% had programmed before and about 40% had never seen a line of code in their life. Most succeeded, so you can do it too.

You don’t have to read this book as part of a course. I assume that the book will be widely used for self study. However, whether you work your way through as part of a course or independently, try to work with others. Programming has an — unfair — reputation as a lonely activity. Most people work better and learn faster when they are part of a group with a common aim. Learning together and discussing problems with friends is not cheating! It is the most efficient — as well as most pleasant — way of making progress. If nothing else, working with friends forces you to articulate your ideas, which is just about the most efficient way of testing your understanding and making sure you remember. You don’t actually have to personally discover the answer to every obscure language and programming environment problem. However, please don’t cheat yourself by not doing the drills and a fair number of exercises (even if no teacher forces you to do them). Remember: programming is (among other things) a practical skill that you need to practice to master. If you don’t write code (do several exercises for each chapter), reading this book will become a pointless theoretical exercise.

Most students — especially thoughtful good students — face times where they wonder whether their hard work is worthwhile. When (not if) this happens to you, take a break, re-read the foreword, look at Chapter 1 (“Computers, People, and Programming”) and Chapter 22 (“Ideals and History”). There, I try to articulate what I find exciting about programming and why I consider it a crucial tool for making a positive contribution to the world. If you wonder about my teaching philosophy and general approach, have a look at Chapter 0 (“Notes to the Reader”).

You might find the weight of this book worrying, but it should reassure you that part of the reason for the heft is that I prefer to repeat an explanation or add an example rather than have you search for the one and only explanation. The other major part of the reason is that the last third of the book is “additional material” presented for you to explore only if you are interested in more information about a specific area of programming, such as embedded systems programming, text analysis, or numerical computation.

And please don’t be too impatient. Learning any major new and valuable skill takes time, and is worth it.

A note to teachers

No, this is not a traditional Computer Science 101 course. It is a book about how to construct working software. As such, it leaves out much of what a computer science student is traditionally exposed to (Turing completeness, state machines, discrete math, Chomsky grammars, etc.). Even hardware is ignored on the assumption that students have used computers in various ways since kindergarten. This book does not even try to mention most important CS topics. It is about programming (or more generally about how to develop software) and as such it goes into more detail about fewer topics than many traditional courses. It tries to do just one thing well and Computer Science is not a one-course topic. If this book/course is used as part of a computer science, computer engineering, electrical engineering (many of our first students were EE majors) information science, or whatever program, I expect it to be taught alongside other courses as part of a well-rounded introduction.

Please read Chapter 0 (“Notes to the Reader”) for an explanation of my teaching philosophy, general approach, etc. Please try to convey those ideas to your students along the way.

Product details

  • Publisher ‏ : ‎ Addison-Wesley Professional; 1st edition (January 1, 2008)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 1236 pages
  • ISBN-10 ‏ : ‎ 0321543726
  • ISBN-13 ‏ : ‎ 978-0321543721
  • Item Weight ‏ : ‎ 3.62 pounds
  • Dimensions ‏ : ‎ 7.5 x 2 x 9.5 inches
  • Customer Reviews:
    4.3 4.3 out of 5 stars 151 ratings

Important information

To report an issue with this product or seller, click here.

About the author

Follow authors to get new release updates, plus improved recommendations.
Bjarne Stroustrup
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Bjarne Stroustrup is the designer and original implementer of C++.

He is a founding member of the ISO C++ standards committee and a major contributor to modern C++.

He worked at Bell Labs and is now a professor at Columbia University and a fellow of Churchill College, Cambridge.

He is a member of the USA National Academy of Engineering, an ACM, IEEE, and CHM Fellow.

He is a recipient of the Draper Prize.

His publication list is as long as your arm. For details, see his home pages (www.stroustrup.com)

Customer reviews

4.3 out of 5 stars
4.3 out of 5
151 global ratings
Not for beginners!
2 Stars
Not for beginners!
This book is not for beginners! That's not the book says, but I'm saying this because I'm a beginner and I bought this book with high expectations but I couldn't understand it well.The book is written in NOT very friendly and easy language, there are so many words that are not common for a new learner. Although after reading first few pages It seemed to me that the author tried very hard to make this book as easiest as possible but he couldn't do that. However the presentation of the book is very good and there are so many color pages as well as color pictures and nice illustrations but the definitions and wording is not really clear, at least not for me.Everyone who is new and want to learn C++, I would rather highly recommend another book which is Problem Solving with C++, 7th Edition
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on December 26, 2008
253 people found this helpful
Report
Reviewed in the United States on March 20, 2010
5 people found this helpful
Report
Reviewed in the United States on May 24, 2014
2 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Vinoth Kumar
1.0 out of 5 stars I was delivered a 180rs book
Reviewed in India on October 13, 2018
Customer image
Vinoth Kumar
1.0 out of 5 stars I was delivered a 180rs book
Reviewed in India on October 13, 2018
I received a someother book named Course on computer concepts. Its cost is 180rs. I paid them around 5k. Its a worst feel when u someother book and u have paid 5k for it. I am so disappointed.
It was sold by USB publisher. Think twice to buy from this publisher.
Images in this review
Customer image
Customer image
A Lazy Reviewer
5.0 out of 5 stars Used but came as almost new..
Reviewed in Japan on March 21, 2019
Alex
5.0 out of 5 stars Lettura obbligata per chi è agli inizi
Reviewed in Italy on February 21, 2014
14 people found this helpful
Report
Some Bro
5.0 out of 5 stars Who better to learn from than the guy that invented C++?
Reviewed in Canada on January 27, 2012
5 people found this helpful
Report
jbridge
5.0 out of 5 stars Only One worth reading
Reviewed in the United Kingdom on August 3, 2012