h*p
5 楼
我现在用的是atof(),先转成double
让後由double强制转换成long long
or use stringstream in c++
for example
const char* cstring="100000000"
long long num;
std::string lonstring;
std::stringstream converter;
converter< coverter>>num;
from long to string
converter< converter>>longstring;
【在 s***e 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: or use stringstream in c++
: for example
: const char* cstring="100000000"
: long long num;
: std::string lonstring;
: std::stringstream converter;
: converter< : coverter>>num;
: from long to string
: converter<
让後由double强制转换成long long
or use stringstream in c++
for example
const char* cstring="100000000"
long long num;
std::string lonstring;
std::stringstream converter;
converter<
from long to string
converter<
【在 s***e 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: or use stringstream in c++
: for example
: const char* cstring="100000000"
: long long num;
: std::string lonstring;
: std::stringstream converter;
: converter<
: from long to string
: converter<
相关阅读
*** help needed! on MATLAB GUI ***好了。终于把3-way qsort完成标准优化了:)[转载] Re: 密码学领域重大发现:山东大学王小云教授成功windows下的Gcc界面叫什么来?Anybody help me on these questions?Re: [转载] Please Help on word 2000 with VBA !怎样写IE的Plug-in[转载] CS Algorithm Interview questionRe: 定义数组上限求救:2个dense matrix的乘法Comparison Re: 组合的枚举算法?Re: A question about VB programming讲解services和相关概念的两片小品文Re: VC里面的stl支持是不是很弱?ZT:C++未来断想通告关于数组动态分配的疑问???how to write IE plug-in?Re: 这里有人做p2p的么?Re: 怎样获得一块指针storage的大小?