If your problem is a compilation issue, it would help if you posted the name and version of the compiler you're using. The issue as you've described is not a run-time issue with malloc(), it is an...