I am attempting to use C to parse a file containing multiple rows of whitespace separated integers into a dynamic array of dynamic int arrays. Each row will be an array in t
You should use :
lineBuffer = (char *)malloc(sizeof(BUFFER_SIZE + 1));
than :
char lineBuffer[BUFFER_SIZE];
Your stack will thanks you !