VC6.0 没有inttypes.h头文件,怎么处理添加?
VC6.0 没有inttypes.h头文件,怎么办添加????# include stdio.h# include inttypes.hint main(void){in
VC6.0 没有inttypes.h头文件,怎么办添加????
# include <stdio.h>
# include <inttypes.h>
int main(void)
{
int16_t me16;
me16 = 4593;
printf("first,assume int16_t is short:");
printf("me16 = %hd\n",me16);
printf("next,let'snot make any assumptions.\n");
printf("Instead,use a"macro"from ubttypes.h:");
printf("me16 = %"prid16"\n",me16);
return 0;
} VC inttypes.h头文件
[解决办法]最好是linux下的gcc,直接用虚拟机装个ubuntu吧。