..

FreePrograms


C programming Tutorial 

Free C Programs, C Programs Download


Embedded C lang & 8051(Embedded Products)


  CONTACT US   ABOUT US   PRIVACY  DISCLAIMER

FREE C PROGRAMS 

 C Tutorial for beginners
What is C C vs C++ vs Java Program Structure Data Types in C Basic Rules of C & C++
Functions in C If, Else Conditions Loops in C Switch Case Arrays
Pointers Structures in C Strings in C Command Line Arguments Type Casting
Linked Lists Recursion Binary Trees Inheritance Multiple Inheritance
Templates File I/O Object Oriented Programming  Data Structures in C C interview Questions

/*Abstract Class in CPP    C++/CPP Tutorial.*/


 
An abstract class is a class that is made to be specifically used as a base class. An abstract class contains at least one pure virtual function. You declare a pure virtual function by using a pure specifier (= 0) in the declaration of a virtual member function in the class declaration.

See this example of an abstract class:

class XY

{
public:
virtual void f() = 0;
};

Function XY::f is a pure virtual function.

NOTE: A function declaration cannot have both a pure specifier and a definition.
 

COPYRIGHT 2009 ALL RIGHTS RESERVED FREECPROGRAMS.COM