字符串转化为整型、浮点型数字
1.将字符串转换为双精度型。
double atof( const char *str );
2.将字符串转化为整型(int)
int atoi( const char *str);
3.将字符串转化为长整型(long)
long atol( const char *str);

1.将字符串转换为双精度型。
double atof( const char *str );
2.将字符串转化为整型(int)
int atoi( const char *str);
3.将字符串转化为长整型(long)
long atol( const char *str);