Search:

Type: Posts; User: marystew

Search: Search took 0.00 seconds.

  1. type cast void* parameter to be a ProductType pointer

    typedef struct {
    EntityType ent;
    char name[MAX_STR];
    int cost
    } ProductType;


    void moveProduct(void* product){
    //typecast?
  2. Replies
    1
    Views
    363

    Declaring enumerated data type

    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...
Results 1 to 2 of 2