Jump to ratings and reviews
Rate this book

C++: How to Program

Rate this book
With over 250,000 sold, Harvey and Paul Deitel's C++ How to Program is the world's best-selling introduction to C++ programming. Now, this classic has been thoroughly updated! The Deitels' groundbreaking How to Program series offers unparalleled breadth and depth of programming concepts and intermediate-level topics for further study. The books in this series feature hundreds of complete, working programs with thousands of lines of code. Deitels' C++ How to Program is the most comprehensive, practical introduction to C++ ever published-with hundreds of hands-on exercises, roughly 250 complete programs written and documented for easy learning, and exceptional insight into good programming practices, maximizing performance, avoiding errors, debugging, and testing. The updated Fifth Edition now includes a new early classes pedagogy-classes and objects are introduced in Chapter 3 and used throughout the book as appropriate. The new edition uses string and vector classes to make earlier examples more object-oriented. Large chapters are broken down into smaller, more manageable pieces. A new OOD/UML ATM case study replaces the elevator case study of previous editions, and UML in the OOD/UML case study and elsewhere in the book has been upgraded to UML 2. The Fifth Edition features new mini case studies (e.g., GradeBook and Time classes). An employee hierarchy replaces Point/Circle/Cylinder to introduce inheritance and polymorphism. Additional enhancements include tuned treatment of exception handling, new “Using the Debugger” material and a new "Before You Begin" section to help readers get set up properly. Also included are separate chapters on recursion and searching/sorting. The Fifth Edition retains every key concept and technique ANSI C++ developers need to control statements, functions, arrays, pointers and strings, classes and data abstraction, operator overloading, inheritance, virtual functions, polymorphism, I/O, templates, exception handling, file processing, data structures, and more. It also includes a detailed introduction to Standard Template Library (STL) containers, container adapters, algorithms, and iterators. The accompanying CD-ROM includes all the source code from the book. A valuable reference for programmers and anyone interested in learning the C++ programming language and object-oriented development in C++.

1436 pages, Paperback

First published January 1, 2014

157 people are currently reading
1421 people want to read

About the author

Harvey M. Deitel

207 books42 followers
also Harvey M. Deitel or H.M. Deitel

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
489 (37%)
4 stars
423 (32%)
3 stars
277 (21%)
2 stars
69 (5%)
1 star
40 (3%)
Displaying 1 - 30 of 57 reviews
Profile Image for Zahra Dashti.
437 reviews120 followers
October 6, 2019
همیشه حسرت می خوردم که چرا دوران کارشناسی این کتاب رو نخوندم، حالا بیش تر از قبل می گم دریغ!
بسیار خوب و جامع توضیح داده شده. به حدی که اگر آدم گاهی حوصله اش سر می ره. تمرین ها هم خیلی خوب بود هرچند که من فرصت حل کردنش رو نداشتم. به هر حال اگر دانشجو هستین یا تازه می خواین برنامه نویسی یاد بگیرید اون هم زبان سی پلاس پلاس، این کتاب رو اکیدا بهتون توصیه می کنم
توصیه ام اینه حتما کتاب زبان اصلی رو بخونید و نه ترجمه های موجود رو، حداقل مواردی که من دیدم، بیشتر باعث گنگی و سخت خوانی اش می شد.
Profile Image for Aung Thu Hein.
1 review2 followers
December 5, 2015
One of the best programming books I've ever read! This book does way more than just teaching how to program, which otherwise would probably be the most boring thing to be reading about. I'd like to thank Paul J. Deitel and Harvey M. Deitel for making a book that has given me a life-long motivation to learn about computers. :) I have no words to describe how good you are at explaining the exquisite details of programming and computer science. That's how it should be! :D
Profile Image for Michael.
33 reviews10 followers
September 6, 2008
This is a pretty good introductory C++ book. A lot of advanced concepts are left out, though.
Profile Image for Baha.
6 reviews7 followers
March 31, 2012
Good as a reference.
Profile Image for Sepideh.
10 reviews
April 4, 2017
بهترین کتاب c++ موجود در بازار ایران با ترجمه دکتر قلزم
Profile Image for فنافن.
300 reviews73 followers
August 9, 2016
My book in C++ class ^^
Simple, clear, worth in examples.
It contains smart tips and hints.
Profile Image for Tolga.
48 reviews15 followers
May 19, 2012
I used this book to understand programming paradigm in the first year of my computer science education. It is really helpful for the beginner. It is not only helpful for beginner but also advanced programmer. This book published in my country "C/C++ How to program". It includes both programming language. It teachs you both of them. Especially if you struggle questions end of chapters, you will have a point of view for evolution from structural programming to object oriented programming.
130 reviews7 followers
July 2, 2021
The Deitel How to Program series of programming books are the worse textbooks ever. I taught computer programming and was puzzled why these books are even mentioned as possible text. They are disorganised and haphazard in introducing programming topics. There are no overview of how the programming constructs fit into the object-oriented concepts. The examples are unnecessarily complex and burden beginners with awful lots of details instead of getting them focused on mastering each concept. Everything sounds like a cookbook with simply "how to..." but no explanations of "why" or "when". The entire text is overwhelmingly verbose. These are the last books that you should ever use. Zero stars if this is possible.
Profile Image for Fahad Naeem.
220 reviews56 followers
March 15, 2018
A book written for Master level students. Classes, Structures and Arrays are explained vaguely and do not clear the concepts regarding C data types. Normally taught in first semester of Computer Science classes at universities but does not serve the purpose of giving concepts to the beginners. Practice problems given in the end of the book are not best examples to practice as well. Beginners of C++ programming should not waste time on it. This book is highly NON RECOMMENDED.
56 reviews
January 22, 2016
A good intro on standard C++, easy to read and learn. Has great insight on the programming practice and the examples and excercises show the true power of C++ and OOP. The only bad thing is that this is a really dated book and some chapters and standards have changed by now (2013), so interested people should buy the newest version
Profile Image for Jim Neville.
Author 10 books50 followers
July 20, 2017
This is a good reference book with only one major flaw. There are times the book instructs you to program against your better judgment. Only after you've wasted your time following a flawed path, does the book tell you "So that's why you can't do it that way." (more or less) That's not a very good method of teaching because it's hard to get it out of your head.
15 reviews8 followers
April 16, 2011
This is an awful book for beginning C++ programming. It starts off well enough, but once the student reaches chapter three, the book is worthless. The online video examples do nothing but summarize the book's text. I would not recommend this book to any serious beginning programming student.
Profile Image for Ohud Saud.
93 reviews4 followers
October 30, 2013
It was the only book I read when I start learning C++ programming, I can't tell if there is better books out there.
But I loved it, it is written in a very easy language that takes you step-by-step through every aspect of C programming.
Enjoy!
Profile Image for Damian.
37 reviews2 followers
August 6, 2016
Very comprehensive. Will definitely get you started and on the right track as a C++ programmer.
Some complicated topics could be dealt with more fully, including use of "const", pointers and references, and friend functions and classes, but on the whole, a very thorough and well-designed course.
103 reviews18 followers
March 31, 2007
I really enjoyed working with C++. The book's well put together and covers all the basic to intermediate topics for getting started.
Profile Image for Thomas 'afin'.
12 reviews
October 2, 2007
Hahahaa..this book was my first programming book that I red. It was in my first grade of computer science in IPB.
It helped me much.
13 reviews2 followers
February 28, 2008
This series is great. For beginners as well as a reference.
I started with the fourth edition and have kept them all.
Profile Image for Dachi.
7 reviews
June 15, 2008
it is really good book for begginers. it explains everything really well. you understend everything 100%, and also it gives some basic XHTML lessons too.
Profile Image for Shari.
165 reviews1 follower
Read
December 4, 2008
Java How to Program (6th Edition) (How to Program (Deitel)) by Harvey M. Deitel (2004)
6 reviews
June 21, 2010
This Book give me a complete view about C++ -- at least for me :) -- very useful and help me when I'm doing undergraduate final assignment.
Profile Image for Flavio Perri.
12 reviews1 follower
November 3, 2011
Introductory C++ book with a lot of code examples.
Right for programming beginners and overviewers of basic C++.
Profile Image for Farah Agha.
7 reviews5 followers
March 2, 2013
it's easy to read and have very good exercises, although exercises are lengthy. It has classes before functions which was weird
the chapter I like most is sorting, STL and Template.
Profile Image for Mahesh Gupta.
10 reviews6 followers
September 1, 2014
first programming book ever read. really good would recommend people to go and read it and do the exercise.
Profile Image for Arslan Joiya.
1 review
Currently reading
October 24, 2017
i want to learn from this book about how to program about your desire software structuring.
This entire review has been hidden because of spoilers.
Profile Image for Ali Frz.
150 reviews42 followers
January 3, 2019
در دو ترم غیر متوالی بالاخره پاس شد:))
Profile Image for Anh Hoang.
82 reviews35 followers
May 9, 2017
c++ how to program aka tôi đã qua môn c++ như thế nào. Thực ra mình vẫn chưa đọc hết... Hơn 1000 trang với 22 chương chính cover khá đầy đủ các vấn đề cơ bản trong lập trình. Do đọc ăn liền để còn kịp thi finals nên mình toàn đọc wrap up cho nhanh, chỗ nào khó hiểu quá mới lội lên đọc lại từ khái niệm cho tới case study. Code viết tường minh dễ hiểu, có giải thích đi kèm tips với observations hay ho. Trong tương lai có thể sẽ đọc kĩ đọc hết nếu còn phải đụng đến c++ =))
31 reviews
October 16, 2020
This was a book I used in the Computer Programner/Analyst program. This was an essential book but C++ is not a fun language. It taught me an incredible amount of structure and I understand orogramming more from learning this. I go back and peruse the book for memories and reminders now and again.
Displaying 1 - 30 of 57 reviews

Can't find what you're looking for?

Get help and learn more about the design.