Search:

Type: Posts; User: hexbox

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    992

    Really? That's interesting -- I'll have to read...

    Really? That's interesting -- I'll have to read up on how free knows how many bytes to deallocate.

    Thanks a lot!
  2. Replies
    6
    Views
    992

    Right. So a de-allocate function is probably a...

    Right. So a de-allocate function is probably a bad idea? (I should leave it in the hands of the programmer calling it?)
  3. Replies
    6
    Views
    992

    My second issue is free'ing the memory alloted to...

    My second issue is free'ing the memory alloted to the packet of data inside each linked list node.

    Right now I have...


    // free the given node (I should free what the void pointer val points...
  4. Replies
    6
    Views
    992

    Generic Linked List

    Hi guys,

    I have a working linked list which holds ints. I want to hold a pointer rather than an int. (This way, the linked list is generic in that it could be a list of pointers to any datatype)...
  5. Replies
    3
    Views
    2,664

    Because an array is faster than a linked list,...

    Because an array is faster than a linked list, basically.

    The C code is eventually going to be parallelized and run on a beowulf cluster. I know that certain MPI functions require contiguous...
  6. Replies
    3
    Views
    2,664

    From Python's Linked Lists to Dynamic Arrays

    Hi there,

    I'm doing some conversion of python to C code. I'm having quite a bit of problems converting what used to be linked lists in to C arrays.

    In the python code, the programmer loves to...
Results 1 to 6 of 6