Search:

Type: Posts; User: Aaron M

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,216

    Thank you. That seemed to fix everything. I...

    Thank you. That seemed to fix everything.

    I should probably go read the FAQs now.
  2. Replies
    2
    Views
    2,216

    2D array becoming "deallocaded"

    Hello. I'm having trouble with a structure that points to a dynamically allocated 2D array. For some reason, after I allocate the array, it becomes "deallocated" in the middle of the program.

    I...
  3. Thanks Salem. I made the improvements you...

    Thanks Salem. I made the improvements you suggested about using typdef and malloc.

    I noticed that when you use sizeof you pass an actual pointer instead of a type name. Is there any particular...
  4. Initializing array of structures causing bus error

    I'm having this annoying bus error.

    I've defined two structures, and defined two types which point to these structures.

    struct node {
    /* ... */
    };
    typedef struct node* NodeP; // NodeP...
Results 1 to 4 of 4