Search:

Type: Posts; User: reversaflex

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,973

    OK, so my next question would be: would...

    OK, so my next question would be: would implementing the linked list without this encapsulation(the 'node' struct) be less efficient in terms of memory usage or even performance?

    Thanks laserlight...
  2. Replies
    7
    Views
    1,973

    Linked Lists and Classes

    Hi, I've found this example of a linked list on the web:

    http://www.dreamincode.net/code/snippet82.htm

    ..and my question is this: in the example the author has a structure within the class...
  3. Replies
    2
    Views
    1,923

    Structs and mem allocation

    Hi all,

    I have a struct which contains not only basic data but other structs as well, some of which are large, I allocate my main struct the normal way and free it but I notice that it will crash...
  4. Replies
    7
    Views
    2,199

    Thanks for the quick replies... I understand...

    Thanks for the quick replies... I understand whats going on now and am no longer paranoid that I'm not freeing mem properly ;)

    JDGATX I guess you got what I think is the desired behaviour, thanks...
  5. Replies
    7
    Views
    2,199

    Memory Allocation and Structs

    When I allocate mem for a struct pointer then free it, should I be able to still access data inside it after the call to free()? How can I tell for sure that I'm free'ing it properly?

    Here's a...
  6. Replies
    3
    Views
    4,553

    fopen vs. _open (for BIG image files)

    Hello all,

    My program reads a large sequence of image files from the hard drive and processes them... it's working but after a certain amount of image reads the hard disk starts chugging away and...
Results 1 to 6 of 7