Search:

Type: Posts; User: rags_to_riches

Search: Search took 0.05 seconds.

  1. Replies
    10
    Views
    4,053

    Best practice is probably to take CommonTater's...

    Best practice is probably to take CommonTater's code, but instead of using your own BUFFERSIZE variable, use the BUFSIZ that's defined for you in stdio.h:


    #define BUFSIZ 1024 /* size of...
  2. Replies
    10
    Views
    4,053

    Actually, I do not believe that's correct,...

    Actually, I do not believe that's correct, because calloc allocates an array of n elements of x bytes each -- and an array is guaranteed to be contiguous in memory -- reversing the order of the...
Results 1 to 2 of 2