Add .gitignore and IntelliJ IDEA project configuration files and projects for cpp intro, pointers and classes

This commit is contained in:
2026-02-13 12:19:53 +01:00
commit bd50c5403f
34 changed files with 1226 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef CLASSES_CLASSA_H
#define CLASSES_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 //CLASSES_CLASSA_H