MyDict
MyDict copied to clipboard
windows环境,nmake错误/编译错误
MyDict.c: In function 'main': MyDict.c:182:17: error: storage size of 'start' isn't known struct timeval start, end; ^~~~~ MyDict.c:182:24: error: storage size of 'end' isn't known struct timeval start, end; ^~~ MyDict.c:183:2: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] gettimeofday(&start, NULL);
MyDict.c添加#inlcude<system/time.h>