Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#ifndef RECTANGLE_DEF_INCLUDED
#define RECTANGLE_DEF_INCLUDED
struct Rectangle
{
static int instanceCount;
int x;
int y;
int width;
int height;
inline Rectangle(int inX=0, int inY=0, int inW=0, int inH=0) :
x(inX), y(inY), width(inW), height(inH)
{
instanceCount++;
}
inline ~Rectangle()
{
instanceCount--;
}
int area();
};
#endif