Search:

Type: Posts; User: adrive

Search: Search took 0.01 seconds.

  1. Thread: malloc question

    by adrive
    Replies
    11
    Views
    2,687

    ah I see now, i've always assumed I could accept...

    ah I see now, i've always assumed I could accept dynamic input from user using the pointer directly without allocating any space.

    BUT...regarding the sizeof(*myArray), it doesn't seem to matter at...
  2. Thread: malloc question

    by adrive
    Replies
    11
    Views
    2,687

    malloc question

    hi all, i'm extremely new to C so please bare with me.

    I'm currently interested in studying strings in C, since there isn't one, and malloc is one of the way, I'm not understanding when to use it....
Results 1 to 2 of 2