typedef struct {
EntityType ent;
char name[MAX_STR];
int cost
} ProductType;
void moveProduct(void* product){
//typecast?
Type: Posts; User: marystew
typedef struct {
EntityType ent;
char name[MAX_STR];
int cost
} ProductType;
void moveProduct(void* product){
//typecast?
I'm asked to create a SortType enumerated data type that stores two values, BY_TITLE and BY_YEAR. I'm then trying to implement a void addBookToList(SortType s, ListType *list, BookType *b) function...