Search:

Type: Posts; User: skuzzy

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    833

    Insertion of tree nodes embedded in a list

    struct t_node
    {
    char word[20];
    int wordAppears;

    struct t_node *left;
    struct t_node *right;
    };
    typedef struct t_node TREE_NODE;
  2. Yes, I realize this and that is why I credited...

    Yes, I realize this and that is why I credited him with making a valid point and said I fixed it but after fixing my "sloppiness" the problem at hand still exists. The reverseStack never goes out of...
  3. although that is a good point and I fixed that in...

    although that is a good point and I fixed that in the reverseStack function I use isEmpty as a check so it shouldn't matter because the stack will never be used when emptied.
  4. problem converting int to char with or without cast?

    int isEmpty(STACK *stack)
    {
    return (stack->top < 0);
    }

    ...

    int pop(STACK *stack)
    {
    int x;
Results 1 to 4 of 4