Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
G++和vc++的区别.....In Reply To:%lld到底什么时候用啊??? Posted by:0406340341 at 2007-11-26 13:00:33 > Additional notes for GCC/G++: > > For 64-bit integers, both long long int and __int64 is supported and they are equivalent. But only "%I64d" is supported when reading with scanf or writing with printf. "%lld" is not supported because GCC and G++ from MinGW use msvcrt.dll which does not support the C99 standard. > > (G++ only) As required by the ISO C++ standard, the return type of the main function must be int, otherwise it will cause Compile Error. > Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator