#Potions Class
1 messages · Page 1 of 1 (latest)
holy ai
** You are now Level 13! **
i used ai to try and fix it
ye
i watched a few turtorials on classes and tried doing it but then it didnt work and then i resorted to ai
ye but like you know what i mean i set it up as it would be
like an oop kinda design
If it works like a class then its a class
debatable
thats like saying
int x = 5;
int y = 5;
are the same because they're both integers
Debate me
not in this poor guys help thread lol
lol
he defined a function in a function
The fact that C++ won’t let you do this deeply upsets me
** You are now Level 10! **
But that's a good thing bc it hurts readability and is usually unnecessary
Well if you want helper functions specifically for one function then it’s better to have them nested
Does that not use more space since you're creating those functions again every time you're calling the upper function