23 lines
318 B
C++
23 lines
318 B
C++
#ifndef POINTER_CLASSA_H
|
|
#define POINTER_CLASSA_H
|
|
#include "IComparable.h"
|
|
|
|
|
|
class ClassA : public IComparable {
|
|
// private
|
|
|
|
public:
|
|
// public
|
|
void Print();
|
|
int CompareTo(IComparable* other) override;
|
|
|
|
protected:
|
|
// protected
|
|
|
|
private:
|
|
// private
|
|
int _number = 0;
|
|
};
|
|
|
|
|
|
#endif //POINTER_CLASSA_H
|