读书人

提议编译的时候加警告 atof

发布时间: 2013-08-11 22:22:29 作者: rapoo

建议编译的时候加警告 atof
#include <stdlib.h>

double atof(const char *nptr);// 使用这函数必须引入 <stdlib.h>,
否则会出现奇怪的错误,
建议编译的时候加警告: gcc -o -g -Wall 15 15.c

读书人网 >移动开发

热点推荐