long long 类型在VC6.0编译错误
long long int 是GCC(GNU C)的64位表示法。
VC里面只能用__int64
有两种解决办法:
1、只需要把long long 替换成__int64即可,
注意一定要点击下保存按钮否则头文件修改无效还是编译不通过
2、或者是:如下
stdint.h文件重新建立,并输入以下信息
/* ISO C9x 7.18 Integer types <stdint.h>
* Based on ISO/IEC SC22/WG14 9899 Committee draft (SC22 N2794)
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* Contributor: Danny Smith <danny_r_smith_2001@yahoo.co.nz>
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAIMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A