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 c99, stdint.h, VC, 不支持 on 2011-03-04.get