简体   繁体   中英

no stdint.h in Visual Studio 2005, cannot compile

I am trying to compile the format.h and format.cc classes found here:

https://github.com/vitaut/format

I can compile the files no problem on Visual Studio 2010, but 2005 will not compile due to a missing stdint.h class. If I write a wrapper and compile the class into a static library in Visual Studio 2010, would I run into any issues compiling / linking and ultimately executing with it in Visual Studio 2005? I would think no...

Thanks deviant fan for the link. That sounds like the best approach. It turns out that the code posted here:

C++ performance challenge: integer to std::string conversion

by user434507 is actually faster for my case than the format library referenced above. So I'm simply going to use that instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM