摘要: 編譯器:Dev-C++long to char*sprintf(char*, "%lu", long);char* to longsscanf(char*,"%ld",&long);#include <stdlib.h>long = atol( char* );double to char*sprintf(char*, "%f", double);char* to double#include <stdlib.h>double = atof( char* );char* to int#include & 阅读全文