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
+17
View File
@@ -0,0 +1,17 @@
#include "ClassA.h"
int main() {
ClassA a;
a.Print();
ClassA* pA = nullptr;
pA = new ClassA();
pA->Print();
// (*pA).Print(); // same as above, but more complex to write
delete pA;
pA = nullptr;
a.CompareTo(pA);
return 0;
}