Search:

Type: Posts; User: kataya

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,232

    Ah yeah, that function was pretty incomplete....

    Ah yeah, that function was pretty incomplete. Thanks again for all the info.

    For future reference (dunno if this could every be useful to someone else),
    here is the fixed function:

    void...
  2. Replies
    7
    Views
    2,232

    I have considered moving to windows for C, but...

    I have considered moving to windows for C, but have yet to make the switch. I'll mess with GDB and see what I can find. Thanks for your help.
  3. Replies
    7
    Views
    2,232

    The test function has the following line: ...

    The test function has the following line:

    myList.head = &myNode;

    Where both myList and myNode have been declared.
    Is that what you are referring to? That looks clean to me, but I'm also the...
  4. Replies
    7
    Views
    2,232

    segfault from linked list function

    I have the following function that adds a node to the front of a doubly-linked linked list.


    #define HEAD list->head
    #define TAIL list->head->prev

    ...

    void add_front(llist* list, lnode*...
  5. Replies
    2
    Views
    30,870

    Ah nice, it compiles now. Thanks much for the fix...

    Ah nice, it compiles now. Thanks much for the fix and more so for the explanation.
  6. Replies
    2
    Views
    30,870

    dereferencing pointer to incomplete type

    Hello, I am making an application that implements doubly linked lists (each node has a pointer to the previous node and the next node), and I am am having trouble with the functions that service the...
Results 1 to 6 of 6