解决vc200三、200五、2008不支持c99中int定义的办法。。

解决vc200三、200五、2008不支持c99中int定义的办法。。

1 Replylinux

gcc能够经过-c99来强制打开c99,而且按规矩实现了stdint.h。可是vc就没这么规矩了,必须升级到vc2010才行,实验室的服务器显然没这么先进。。。。。。windows

解决方法:服务器

http://stackoverflow.com/questions/126279/c99-stdint-h-header-and-ms-visual-studiopost

这里给出了一些很猛的人写的“可移植版本”stdint.h,在你的程序中直接引用这些可移植版本的stdint.h就能够了!visual-studio

哎,以为windows好难用啊,为何服务器不用linux呢。。。spa

没有发现相关文章...code

This entry was posted in C && C++Linux and tagged c99stdint.hVC不支持 on 2011-03-04.get

相关文章
相关标签/搜索