need to understand

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bitbyte89
    New Member
    • Nov 2008
    • 26

    #1

    need to understand

    codebook = (int **) calloc(codebook _size,sizeof(in t *));

    can anyone tell me what does this line is doing
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by bitbyte89
    codebook = (int **) calloc(codebook _size,sizeof(in t *));

    can anyone tell me what does this line is doing
    Read this reference page; it can be found in this repository; bookmark it for later reference. Calloc(n, s) allocates n elements of size s and zeros all the bits in the allocated memory. The function returns the start address of the allocated memory.

    kind regards,

    Jos

    Comment

    • bitbyte89
      New Member
      • Nov 2008
      • 26

      #3
      ok thanks a lot....thanks 4 help

      Comment

      Working...