Main Contents
Contents
Classes
Introduction
Initializing Class Member Variables
Using a Function to Create Objects (a.k.a. Factory Pattern)
Using Constructors and Destructors to Manage Resources (or RAII)
Automatically Adding New Class Instances to a Container
Ensuring a Single Copy of a Member Variable
Determining an Object's Type at Runtime
Determining if One Object's Class Is a Subclass of Another
Giving Each Instance of a Class a Unique Identifier
Creating a Singleton Class
Creating an Interface with an Abstract Base Class
Writing a Class Template
Writing a Member Function Template
Overloading the Increment and Decrement Operators
Overloading Arithmetic and Assignment Operators for Intuitive Class Behavior
Calling a Superclass Virtual Function
Sponsored Links
Home
ADD TUTORIAL
Articles
A+ Certification
ASP
C
C#
Flash
HTML and CSS
Java
MS Access
MS Excel
MS Excel 2007
MS FrontPage
MS PowerPoint
MS Word
MySQL
Networking
Perl and CGI
Photoshop
PHP
PHP and MySQL
Visual Basic
XML
XML