I am having problems putting a variable of a class inside a struct
Item_Class (is my class)
that is my structure as soon as the "Item_Class" is put inside the struct it pulls up a string error, if I declare it outside of the struct it runs perfectly. Why is that?Code:struct player { int hp; Item_Class items; };