简体   繁体   English

在哪里可以找到标准的 Visual C++ 头文件?

[英]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.

相关问题 C++ 在哪里可以找到 gcc 编译器标准库的实现文件? - C++ where I can find the implementation files of the standard library for the gcc compiler? C ++标准头文件 - C++ standard header files 无法找到C ++标准库头文件中未定义的宏 - Unable to find macros undefined in C++ standard library header files 在Linux的哪里可以找到QtQuickCompiler生成的C ++文件? - Where can I find the QtQuickCompiler generated C++ files on Linux? Visual Studio 在哪里查找 C++ header 文件? - Where does Visual Studio look for C++ header files? 在哪里可以找到当前的 C 或 C++ 标准文档? - Where do I find the current C or C++ standard documents? 在 Visual Studio C++ 中,如何快速找到必要的头文件? - In Visual Studio C++, How to quickly find necessary header files? 在c ++中,仅在全局范围内允许使用“表达式”来初始化全局对象。 在标准中哪里可以找到? - In c++, `expressions` are allowed in global scope only to initialize global objects. Where can I find this in the Standard? 我可以在C ++标准中找到在全局范围内调用函数的支持吗? - Where in the C++ Standard can I find support for invoking a function in global scope? 在 Visual Studio 中找不到任何 header 文件 c++ 项目 - Cannot find any header files c++ project in Visual Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM