Files
uni_notes/00 Inbox/29605321 - OOP 4_16.md
2026-04-16 11:47:45 +02:00

36 lines
333 B
Markdown

---
created: 2026-04-16 08:01
course:
topic:
related:
type: lecture
status: 🔴
tags:
- university
---
## 📌 Summary
> [!abstract]
>
---
## 📝 Content
## Classes
C approach of defining a Pokemon:
```C
typedef struct {
int exp;
int attack;
unsigned int hp;
char name[];
} Pokemon;
```
```C++
class Pokemon() {
}
```