Search:

Type: Posts; User: awox

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,520

    C Linked lists in linked lists

    typedef struct innode
    {
    char letter;
    struct innode* next;
    } InnerNode;


    typedef struct node
    {
    InnerNode* word;
  2. Replies
    4
    Views
    4,236

    Calculator with linked Lists

    I have been give this code and i should create a calculator with linked lists.
    The input always alternates between integer numbers and operators ('+', '-', '*', '/'), starting with a number. This is...
  3. Replies
    13
    Views
    4,464

    in this priorityqueuedemo.c "entry" is my "data"?

    in this priorityqueuedemo.c "entry" is my "data"?
  4. Replies
    13
    Views
    4,464

    It do be like that for us: We learn Structs,...

    It do be like that for us: We learn Structs, Enums, Pointers, whatsoever. and then we get a massive homework where everything is mixed up crazy, then you lose overview for everything. Thats where I...
  5. Replies
    13
    Views
    4,464

    already did i dont know how to make enqueue an...

    already did i dont know how to make enqueue an entry for the priorityqueue
  6. Replies
    13
    Views
    4,464

    i have problems with understand these things. yes...

    i have problems with understand these things. yes my struct entry does have a member called priority. and no i dont know how to do that.
    probably something like =


    struct entry getNewEntry(){...
  7. Replies
    13
    Views
    4,464

    Choose action: print queue (p), enqueue entry...

    Choose action: print queue (p), enqueue entry (e), dequeue entry (d) or exit (x): e

    Choose priority: lowest (L), low (l), normal (n), high (h), highest (H): a

    Input invalid! Try again: L
    ...
  8. Replies
    13
    Views
    4,464

    What do you exactly mean by that? I tryna make a...

    What do you exactly mean by that? I tryna make a enqueue, a dequeue, print queue and exit. and output should look something like that

    Choose action: print queue (p), enqueue entry (e), dequeue...
  9. Replies
    13
    Views
    4,464

    make a new entry in C

    struct pqueue
    {
    int numEntries;
    struct entry entries[10];
    }
    pqueue;

    case 'e':
    void enqueue(struct pqueue*pqueue, struct entry entry)
    {
  10. Replies
    2
    Views
    3,607

    thank you!

    thank you!
  11. Replies
    2
    Views
    3,607

    Check if array is empty?

    struct pqueue {
    struct entry entries[10];
    }pqueue;


    How can i check if the entry array "entries" is empty?



    int isEmpty(struct pqueue* pqueue) (<- i have to use this...
Results 1 to 11 of 11