2009-10-14, 11:34 AM
C has no exceptions.
Please add the following after fopen:
Please add the following after fopen:
Code:
if (foo <= 0)
perror("fopen failed");
