long long 不合法 新人请教
#include<stdio.h>int main(void)
{
unsigned int un=3000000000;
short end=200;
long big=65537;
long long verybig=12345678908642;
printf("un=%u and not %d\n",un,un);
printf("end=%hd and not %d\n",end,end);
printf("big=%ld and not %hd\n",big,big);
printf("verybig=%lld and not %ld\n",verybig,verybig);
return 0;
//帮我看看哪有问题为什么不能编译
}错误如下:::::
--------------------Configuration: 自己找的代码 - Win32 Debug--------------------
Compiling...
自己找的代码.c
D:\here\自己找的代码.c(7) : error C2632: 'long' followed by 'long' is illegal
D:\here\自己找的代码.c(7) : warning C4305: 'initializing' : truncation from 'const __int64 ' to 'long '
Error executing cl.exe.
自己找的代码.obj - 1 error(s), 1 warning(s)
软件是 VC++ 6.0