【发布时间】:2010-07-16 18:10:24
【问题描述】:
#include <errno.h>
/* compress until end of file */
do {
strm.avail_in = fread(in, 1, CHUNK, source);
errno; //<-----DEBUGGER "CXX0017: Error: symbol errno not found"
perror("Error:");
if (ferror(source)) //<--ferror = 32 but there is no string from perror?
{
//error handling
【问题讨论】:
标签: c windows visual-studio winapi