Head office, Rana Pratap Bagh, Delhi+91 97116 99511

Programming and web15 books

Object-Oriented Programming in C++

Classes, objects, inheritance and polymorphism with practice programs

  • Free ebook
  • Intermediate
  • 27 pages
  • 125 KB
  • PDF, English

Download free PDFRead online (opens the PDF in a new tab)

Free to download, read, print and share. Not for sale.

About this ebook

What you will learn

Move from C to C++ and learn object-oriented programming, from classes and constructors to inheritance, virtual functions, templates, exceptions, the STL and files. Nineteen practice programs, such as a bank account, shape areas and complex numbers, show every idea working.

Who it is for

Students who know C basics and are learning C++.

Chapters

Contents

  1. Chapter 1: From C to C++
  2. Chapter 2: Classes and objects
  3. Chapter 3: Constructors and destructors
  4. Chapter 4: The this pointer, static members and friends
  5. Chapter 5: Function and operator overloading
  6. Chapter 6: Inheritance and virtual functions
  7. Chapter 7: Templates and exception handling
  8. Chapter 8: The STL and file streams

Inside

At the end of the book

  • Practice questions. To check what you have learnt, with the answers after them.
  • Glossary. The key words of the book, each explained in one sentence.
  • Easy English. Short sentences and everyday words, with each new word explained the first time.

How to use it

Reading, printing and sharing

  1. On a phone or computer. Tap Read online to open the book in your browser, or Download to keep it and read it without the internet.
  2. To print. The pages are A5, half the size of A4. Choose two pages per sheet in the print settings to fit two pages on each A4 sheet.
  3. To share. Send the link to this page, or the PDF itself, to friends, classmates or students. The book is free for everyone.

Courses

Courses this book supports

Students of this course also find the book in the student portal, with the other ebooks for their course.

More from this family

All 15 books in Programming and web
WhatsApp us