Head office, Rana Pratap Bagh, Delhi011 2721 1512+91 97116 99511

Programming and web15 books

Object-Oriented Programming in C++

Classes, objects, inheritance and polymorphism with practice programs

  • Free ebook
  • Intermediate
  • 29 pages
  • 127 KB
  • PDF, English

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++.

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

At the end of the book

  • Practice questionsTo check what you have learnt, with the answers after them.
  • GlossaryThe key words of the book, each explained in one sentence.
  • Easy EnglishShort sentences and everyday words, with each new word explained the first time.

Reading, printing and sharing

  1. On a phone or computerTap Read online to open the book in your browser, or Download to keep it and read it without the internet.
  2. To printThe 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 shareSend 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