Moving from C to C++: Discussing Programming Problems, Why They Exist, and How C++ Solves Them

  • 12h 45m
  • Arunesh Goyal
  • Apress
  • 2013

The author says it best, "I hope to move you, a little at a time, from understanding C to the point where C++ becomes your mindset." This remarkable book is designed to streamline the process of learning C++ in a way that discusses programming problems, why they exist, and the approach C++ has taken to solve such problems

Tailor made to treat difficult concepts in a simple and practical way, the book focuses on building a customizable model for the reader which helps in deducing the solution of any puzzle that one might encounter. The book presents the material one simple step at a time, so the reader can easily digest each concept before moving on. It uses examples that are as simple and as short as possible. This book does not to use any particular vendor's version of C++ because, for learning the language, the details of a particular implementation are not as important as the language itself. The book is loaded with exercises which are useful to complete one's understanding and honing programming skills, so you'll find a set of review exercises at the end of each chapter for cross reference purposes. Good coding style and programming guidelines have been provided as two separate appendices to aid in writing excellent and bug-free programs. All code in the book was run against the Visual Studio (Microsoft) C++ compiler and Apple's Xcode C++ compiler to ensure accuracy.

What you'll learn

  • To look at C++ as a way to express and tackle more and more complex concepts
  • Understand that C++ is not just a collection of features in isolation
  • To think about design, not simply coding
  • To understand the problems with C and with programming, in general and how they are addressed in C++
  • Build up a solid foundation so that you can understand the issues well enough to move on

About the Author

Arunesh Goyal is serving as the honorary director of the ISMRSC (Institute for Studies in Mathematics & Related Sciences in Computers), Delhi. He actively participates as a freelance writer/author for different projects. He has a master's degree in computer application from the University of Delhi. He has worked as a computer analyst/consultant on programming and systems development at St. Stephen's Hospital, Delhi for more than 10 years. In the past, he was also associated with two projects on intelligent databases for Comtech International Ltd., Noida, and The Times of India, New Delhi. He has authored several books including The C Programming Language, See Thru C++, and Systems Analysis and Design.

In this Book

  • Introduction to Objects
  • Making and Using Objects
  • The C in C++
  • Data Abstraction
  • Hiding the Implementation
  • Initialization and Cleanup
  • Function Overloading and Default Arguments
  • Constants
  • Inline Functions
  • Name Control
  • References and the Copy Constructor
  • Operator Overloading
  • Dynamic Object Creation
  • Inheritance and Composition
  • Polymorphism and Virtual Functions
  • Introduction to Templates
  • Exception Handling
  • Strings in Depth
  • iostreams
  • Runtime Type Identification (RTTI)
  • Multiple Inheritance (MI)
SHOW MORE
FREE ACCESS