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 ...
I recently presented arguments for and against using dynamic memory allocation in C and C++ programs. 1 I do agree that truly safety-critical systems should avoid using dynamic allocation because the ...
Hi,<BR><BR>I've been having some difficulty with a C assignment that I have (I'm starting to realize how much PHP and Java spoils me!). Its a simple cash register that asks for the type of purchase, ...