Initial commit

This commit is contained in:
2025-11-17 10:28:09 +01:00
parent 7bff81691f
commit 6ee36e26be
391 changed files with 110253 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
#include <string.h>
#include "extends.h"
void main() {
struct inherit * pointer = new inherit();
//pointer->propertyFromC = 20;
printf("pointer->propertyFromC: %i\n\n", pointer->propertyFromC );
pointer->methodFromC();
printf("\n\n\n\n");
for (int i = 0; i < 10; ++i)
{
struct inherit instance = new inherit();
instance.propertyFromA = i;
instance.propertyFromB = i;
instance.propertyFromC = i;
instance.methodFromC();
}
}