diff --git a/00 Inbox/29605321 - OOP 4_16.md b/00 Inbox/29605321 - OOP 4_16.md index 7e50dcb..d4804a0 100644 --- a/00 Inbox/29605321 - OOP 4_16.md +++ b/00 Inbox/29605321 - OOP 4_16.md @@ -16,3 +16,21 @@ tags: --- ## 📝 Content + +## Classes +C approach of defining a Pokemon: +```C +typedef struct { + int exp; + int attack; + unsigned int hp; + char name[]; +} Pokemon; +``` + + +```C++ +class Pokemon() { + +} +``` \ No newline at end of file