what does this (C) function probably do and why?
>>58341155
would help if it was documented but few are good enough to understand this unless u are the author of this code
I think it reads in a matrix from a file
>>58341361
this
>>58341361
yeah, looks like this
Why is pos set to 0 when initializing the for loop? Why not just initialize it to 0 as it is declared?
Also
>calling buffer helper
>if(inNum == true)
>doing lots of excessive reallocs instead of allocating a larger buffer at once
>no input validation
>no bounds checking
The for loop should probably be changed to justwhile((c=fgetc(f))!=EOF)