[英]no stdint.h in Visual Studio 2005, cannot compile
I am trying to compile the format.h and format.cc classes found here: 我正在尝试编译在这里找到的format.h和format.cc类:
https://github.com/vitaut/format 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. 我可以在Visual Studio 2010上编译文件,但没有问题,但是由于缺少stdint.h类,因此2005无法编译。 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?
如果编写包装程序并将类编译到Visual Studio 2010中的静态库中,我是否会在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 C ++性能挑战:整数到std :: string的转换
by user434507 is actually faster for my case than the format library referenced above. 对于我的情况,user434507编写的文件实际上比上面引用的格式库更快。 So I'm simply going to use that instead.
所以我只是要使用它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.