Search:

Type: Posts; User: qny

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    28,680

    No, I'm not a Three Star Programmer :) As you...

    No, I'm not a Three Star Programmer :)
    As you suggested, I think it's way better to wrap the dynamic array in a struct and pass a pointer around. This is what I do!
  2. Replies
    8
    Views
    28,680

    arrays are not pointers and pointers are not...

    arrays are not pointers and pointers are not arrays
    I suggest you read section 6 of the comp.lang.c FAQ (and the other sections too).

    This works:

    #include <stdio.h>

    int dummy = 42;
    int...
Results 1 to 2 of 2