Tenouk - A complete  C++ object oriented programming resources

The Tenouk's pure C++ programming tutorial

A continuation from the C/C++ tutorial. Let continue our C++ Journey, dig more C++ functionalities and features of the object oriented principles and paradigm. Learn the fundamentals of the encapsulation, inheritance and polymorphism that have been used in many other object oriented and visual programming languages such as Java and .NET itself. See the C++ beauty and crap



Master C programming By Practice Tutorials in weeks.


C & C++ Libraries, Toolkits, APIs, Components etc.


Use Your C/C++ Skills in The C/C++ Challenge


C Code Listing ~ 340 C code samples


C++ Code Listing ~ 500 C++ code Samples


C & Linux Device Driver (ext)


C & C++ CERT Secure Coding Standards


Java programming resources and its' open source friends



C, Win32 & Unicode Code Examples


C and C++ Code Sample Index


Search C & C++ Source Codes, Programs






This is pure C++ tutorial, introduced together with the Object Oriented idea. The topics that already covered in C/C++ tutorial such as Array, Pointers and Functions will not be repeated here. Those topics are reusable. For the Object Oriented part, you will learn how the data in a class been encapsulated, objects instantiation and sending message through the class construction using C++ programs.

Most of the time, in the real world applications, you don't have to create your own classes because those class libraries are normally supplied together with the compilers that you use, for example Microsoft Foundation Class (MFC). So, at the end you just learn how to use those classes. Unfortunately using ready made classes become





C/C++ Standards


Using C/C++ Compilers


C/C++ Tutorial


C and Win32 Tutorial


C and Winsock2 Tutorial


C, Winsock 2 and IPv6 Tutorial


C and Linux Socket Tutorial


C++ and Object Oriented Tutorial


C and C++ Standard Library Online Documentation


C/C++ and Buffer Overflow


C++ and Standard Template Library (STL)


C++ and Microsoft Foundation Class (MFC)


C++ and Microsoft Foundation Class (MFC) - Advanced Topics


C++, Winsock, WinInet and MFC


::Visual C++ .NET 2003/2005 Express/Visual Studio::


C and Linux Programming - advanced




quite difficult if you don't have any basic knowledge about classes and basic object oriented principles. Several important principles such as polymorphism, inheritance and encapsulation have been included in this tutorial. For your information, the object oriented design and analysis not included in this tutorial. The compiler used are Visual C++ 6.0 and .Net though at the beginning Borland C++ Builder 5.0 also used.

At the end most of the topics, program examples re-compiled using G++ under Fedora Core also included where we can see the portability of the Standard C++. We will start from structure (struct), then class and object instantiation and manipulations. At the end we can create our own classes while 'enjoying' the features and principles of the object oriented. You can see the C++ object oriented concept and principle used in Java. It should be easy for you if you want to learn Java later on. For Microsoft 'products', C++ have been used intensively in MFC and the .NET.

C++ And Object Oriented Programming Idea Topics


This tutorial should be used together with the previous C/C++ tutorials. Link will be opened in new window.

  1. Encapsulation:  Part 1 - Objects & Classes - C++ object, class and data abstraction fundamentals, note and program examples.

  2. Encapsulation:  Part 1a - Objects & Classes - Program example

  3. Encapsulation:  Part 2 - Program examples

  4. Encapsulation:  Part 2a - Program examples

  5. Encapsulation:  Part 2b - Program examples

  6. Encapsulation:  Part 2c - Program examples

  7. Inheritance: Part 1 - C++ object/class inheritance, extending the classes.

  8. Inheritance: Part 2 - Program examples

  9. Inheritance: Part 2a - Program examples

  10. Inheritance: Part 3 - Multi inheritance - C++ object/class multi inheritance, generic types.

  11. Inheritance: Part 3a - Multi inheritance

  12. Polymorphism - C++ polymorphism, virtual functions.

  13. C++ Formatted I/O - Standard C++ formatted input/output - cin, cout, cerr etc.

  14. C++ File I/O - Standard C++ file input/output - read, write, create file streams.

  15. Storage Classes: const, volatile, static, auto, register - const, static, auto, register, volatile, mutable etc.

  16. C / C++ Exception Handling - Simple and structured exception handling (SEH) - try-catch-throw etc.

  17. C++ Typecasting - The simple/automatic and advanced C++ type castings - simple cast, up/down/cross cast.

  18. C++ Namespaces - The C++ namespaces - std, using directive etc.

  19. C++ Implementation In Java and C++ .NET (C++/CLI) - class and object 'seen' from program examples.

  20. C++ Object Oriented Related Books

Other Related C++ Object Oriented Resources

Custom Search


Best viewed using IE 4.0/FireFox 1.0.0 and above but if your eyes can view the pages, that is the best resolution.

Broken link? Respond to Webmaster: [C++ object oriented programming]

Copyright 2003 - 2018 © Tenouk. All rights reserved.


 Hosting services provided by:

Translate, email to friends and share: