Simple Class Definition in C++


class ClassName{
attributes, associations, behavior, etc.
};




Example:

class Position {
public:
     int x;
     int y;
     setX();
     setY();
};




Back to Table of Contents

Document:
Local Date:
Last Modified On: