Search:

Type: Posts; User: thames

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    7,586

    I understood your explanation anduril. Many...

    I understood your explanation anduril. Many thanks.
    I copied a code from the videos I watched (a simpler version of a linked stack):



    /*
    * File: stack.h
    * Author: thames
    *
    *...
  2. Replies
    12
    Views
    7,586

    wow thank you for the incredible effort to...

    wow thank you for the incredible effort to explain me stacks with linked lists. I'm also watching some videos on youtube about the subject.
  3. Replies
    12
    Views
    7,586

    Now I'm a bit lost. How can the head be the top...

    Now I'm a bit lost. How can the head be the top (the first popped element) of the stack?
  4. Replies
    12
    Views
    7,586

    I think I understood this problem: I'm passing...

    I think I understood this problem: I'm passing NULL as an element for popping and pushing. If you look to the usual implementation of the stacks, this is incorrect since you need to pass the...
  5. Replies
    12
    Views
    7,586

    invalid free() in stack using linked list

    Good afternoon. I'm trying to debug a stack. I think the problem has something to do with free(old_element) and free(data) but I tried to do some modifications (commenting one of them) without...
Results 1 to 5 of 5