It's explained very well in the FAQ! It's there for a reason.
Type: Posts; User: Elysia
It's explained very well in the FAQ! It's there for a reason.
Still, why do you need to use malloc?
You are also committing two sins.
First, you cast the return of malloc. Do not do this. This was explained earlier!
And two, you are not freeing what you...
The correct way is not to cast the return of malloc when compiling as C.