Thursday, September 3, 2009

struct and class

what are the differences between struct and class in C++?


1 comment:

  1. Classes provide the OOP functionality:
    1. Access specifiers
    2. Virtual Functions
    3. Multiple inheritance
    4. Operator functions for the classes

    Structures do not provide these.

    ReplyDelete