本文介紹了C99 stdint.h 頭文件和 MS Visual Studio的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
令我驚訝的是,我剛剛發(fā)現(xiàn) MS Visual Studio 2003 以上缺少 C99 stdint.h.我相信他們有他們的理由,但有誰知道我可以在哪里下載副本?沒有這個標題,我就沒有有用類型的定義,比如 uint32_t 等.
To my amazement I just discovered that the C99 stdint.h is missing from MS Visual Studio 2003 upwards. I'm sure they have their reasons, but does anyone know where I can download a copy? Without this header I have no definitions for useful types such as uint32_t, etc.
推薦答案
原來您可以從以下位置下載此標題的 MS 版本:
Turns out you can download a MS version of this header from:
https://github.com/mattn/gntp-send/blob/master/include/msinttypes/stdint.h
可在此處找到便攜式設備:
A portable one can be found here:
http://www.azillionmonkeys.com/qed/pstdint.h
感謝 軟件漫游的博客.
這篇關于C99 stdint.h 頭文件和 MS Visual Studio的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!