Unnecessary... a void pointer can be assigned to anything.
Just out of curiosity can you post the source file (pwd) you're using?
while(fgets(buffer,sizeof buffer,f))
buffer is a...
Type: Posts; User: CommonTater
Unnecessary... a void pointer can be assigned to anything.
Just out of curiosity can you post the source file (pwd) you're using?
while(fgets(buffer,sizeof buffer,f))
buffer is a...
For starts you're using calloc incorrectly...
It's calloc( NumberOfElements , SizeOfEachElement );
And there's no reason to typecast it's returned pointer.
The difference between char...