Hey all,
The following code causes the error "incompatible types" on the line "Osiris.name = "Osiris";"
I've used strings and structs, in a very similar manner to this before. I've checked my previous code, but can't see what's going wrong.... it's identical to my code before but this time it's throwing that error. I don't get it...Code:struct player { char name[10]; int chosenNumbers[6]; }; struct player Osiris; Osiris.name = "Osiris";