search for: memory1

Displaying 1 result from an estimated 1 matches for "memory1".

Did you mean: memory
2005 Dec 29
1
Problems with calloc function.
...in Linux, it has 7 pointers and compile e run OK, but when I run in R happens problems with calloc function, it returns NULL. ############################################### > int *temp1,*temp2,*temp3,*temp4; temp1 = (int *)calloc(col,sizeof(int)); if(temp1 == NULL){ printf("\n\n No Memory1!"); exit(1); } temp2 = (int *)calloc(col,sizeof(int)); if(temp2 == NULL){ >printf("\n\n No Memory2!"); >exit(1); } temp3 = (int *)calloc(col,sizeof(int)); if(temp3 == NULL){ >printf("\n\n No Memory3!"); >exi...