I have a function that is called many times. After about 20 calls it seg faults on a new/malloc call to create a dynamic string -- i free this string before this function returns and the size of the ...
The awesome power of C cuts both ways. Here’s what to watch out for, and how to keep your C programs on the straight and narrow. Few programming languages can match C for sheer speed and machine-level ...