Search:

Type: Posts; User: bar338

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    5,974

    My understanding of c memory usage is not the...

    My understanding of c memory usage is not the best at the moment. So how should i go about fixing the memory leak. I need to section off memory in both getLevel and main to set the variable type...
  2. Replies
    4
    Views
    5,974

    Linked List Not Saving Value as Int

    I've looked through my code alot and can not seem to find the error, i really appreciate your help. The problem is that when i call cord[] (part of node) in the main file it is not returning an int....
  3. Replies
    7
    Views
    4,859

    it is just sample data. I will be creating text...

    it is just sample data. I will be creating text files later with more useful information. What do you mean by increment cord? I thought i was incrementing it.
  4. Replies
    7
    Views
    4,859

    tmp->cord[0] = cord[0]; tmp->cord[1] =...

    tmp->cord[0] = cord[0];
    tmp->cord[1] = cord[1];
    tmp->cord[2] = cord[2];
    tmp->cord[3] = cord[3];
    tmp->cord[4] = cord[4];
    tmp->cord[5] = cord[5];
    tmp->cord[6] = cord[6];
    ...
  5. Replies
    7
    Views
    4,859

    ahhhh i've been staring at that forever. Thanks....

    ahhhh i've been staring at that forever. Thanks. One last question. What is wrong with setting cord like this in make_node() in list.c

    tmp->cord = cord;
  6. Replies
    7
    Views
    4,859

    Passing an array to linked list

    I'm attempting to pass an array to a linked list i've created and am having some difficulties. I've bolded the problematic lines.

    I am receiving these error messages:


    I'm sure it has...
Results 1 to 6 of 6