乱七八糟

#include <stdio.h> #include <ctype.h> #define null 0 long re_num(char *str const) { long data; int type; for (;isspace((int)*str),islower(*str);str++); if (str == null) return -1; type = (*str == '-')?-1:1; for (;isdigit(*str),(data = *str);str++) data = data * 10 + *data - '0'; return type * data; }

你可能感兴趣的:(null,include)