[英]Where can I find the standard Visual C++ header files?
Can I get an isolated collection of C/C++ standard header files from the Internet, without the requirement to install a development toolkit?是否可以从 Internet 获取 C/C++ 标准头文件的独立集合,而无需安装开发工具包? I find it easy to get help from MSDN, but impossible to get the source files.
我发现从 MSDN 获得帮助很容易,但无法获得源文件。 For example, here is a list on MSDN .
例如,这是 MSDN 上的列表。
This is the same that you are looking for in chinese but in english这与您正在寻找的中文相同,但为英文
https://msdn.microsoft.com/en-us/library/a7tkse1h.aspx https://msdn.microsoft.com/en-us/library/a7tkse1h.aspx
And no, you cant download it from the web either不,你也不能从网上下载它
So how to get the headers?那么如何获取标题呢? You have to install at least a redistributable C++ and do a search in the hard drive to find the location of the headers, search for a common header like String.h or Math.h
您必须至少安装一个可再发行的 C++ 并在硬盘驱动器中进行搜索以找到头文件的位置,搜索常见的头文件,如 String.h 或 Math.h
If you didnt need the headers from VC++ and you only want any headers you should go to如果你不需要来自 VC++ 的头文件,而你只想要任何你应该去的头文件
https://gcc.gnu.org/mirrors.html https://gcc.gnu.org/mirrors.html
pick one and search for the libstdc folder, there are the headers, for example:选择一个并搜索 libstdc 文件夹,有标题,例如:
ftp://gd.tuwien.ac.at/gnu/gcc/libstdc++/old-libg++-releases/iostream-0.62.tar.bz2 ftp://gd.tuwien.ac.at/gnu/gcc/libstdc++/old-libg++-releases/iostream-0.62.tar.bz2
Will give you the iostream headers (file, fstream, iostream or ostream among others)将为您提供 iostream 标头(文件、fstream、iostream 或 ostream 等)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.