Search:

Type: Posts; User: minidragon

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    2,721

    sorry I misunderstood, here the functions got...

    sorry I misunderstood, here the functions got called



    (gdb) bt
    #0 0x0000000000401dcd in insertBeforeFirst (L=0x604630, data=1) at List.c:208
    #1 0x000000000040124c in DFSVisit (G=0x604490,...
  2. Replies
    16
    Views
    2,721

    Here are the steps I did for gdb (gdb)...

    Here are the steps I did for gdb




    (gdb) run in out
    Starting program: /afs/cats.ucsc.edu/users/m/ltrinh1/private/cs101/pa5/FindComponents in out

    Breakpoint 1, insertBeforeFirst...
  3. Replies
    16
    Views
    2,721

    it's the same problem, gdb is pointing to the...

    it's the same problem, gdb is pointing to the same line
  4. Replies
    16
    Views
    2,721

    yes I initialized it. is this correct? ...

    yes I initialized it. is this correct?



    NodeRef newNode(int node_data){
    NodeRef N = malloc(sizeof(Node));
    N->data= node_data;
    N->next= NULL;
    N->prev= NULL;
    return (N);
  5. Replies
    16
    Views
    2,721

    I just started learning how, but I don't know how...

    I just started learning how, but I don't know how to fix this.
  6. Replies
    16
    Views
    2,721

    so what am I suppose to do to fix the bug?

    so what am I suppose to do to fix the bug?
  7. Replies
    16
    Views
    2,721

    Need help Debugging (ADT)

    Hello, I been trying to debug my program for hours, but there still one small bug left that I need help. Please anyone can give me some advice/tip, it would be very much appreciated.

    I used gdb...
  8. but, I need the insertion sort to be in this...

    but, I need the insertion sort to be in this format though >.<

    void inssort (void *base, size_t nelem, size_t size,
    int (*compar) (const void *, const void *));

    The parameters...
  9. Converting Java code into C, I need help >.

    Can someone please convert this Java into C code? I need help >.<



    static <elem_t extends Comparable <? super elem_t>>
    void insertion_sort (elem_t[]array, int nelem) {
    for(int...
Results 1 to 9 of 9