Search:

Type: Posts; User: jou00jou

Search: Search took 0.00 seconds.

  1. Still struggling with sorting a singly linked list

    I posted earlier questions about sorting linked list and so far I couldn't find a ready to use implementation so I am struggling with hacking similar code to work with my linked list.
    I get a BUS...
  2. Replies
    1
    Views
    1,748

    using qsort with structures

    Hello,
    Does anybody know how to use qsort or any other ansi c sorting function with singly linked list?

    For example consider the following structure.

    typedef struct message {
    int messageId;...
  3. Replies
    2
    Views
    3,737

    Thank you for your reply. That was indeed one of...

    Thank you for your reply. That was indeed one of the problems but I still have a Bus error.
    I am sure that the error is in the conditional statement. (After some debugging I guess this is the...
  4. Replies
    2
    Views
    3,737

    sorting a singly linked list

    Hello,
    I am trying to sort a singly linked list for the following typedef
    typedef struct message {
    int messageId;
    char * messageText;
    struct message * next;
    } message;
    I have successfully...
  5. To xuftugulus: True this advanced but very...

    To xuftugulus:
    True this advanced but very useful, thank you. I even bookmarked the page :)
    But unfortunately it doesn't help my question.

    To vart
    Thank you very much for your reply.


    I...
  6. Problem using sscanf fgets and overflow checking

    Hi,
    I have trouble using sscanf and fgets to check for overflow.
    I will post the assignment specification so I could help whoever would kindly like to offer his/her help.

    ...
Results 1 to 6 of 6