在哪里可以找到标准的 Visual C++ 头文件?
Where can I find the standard Visual C++ header files?
我可以从 Internet 上获取 C/C++ 标准头文件的独立集合,而不需要安装开发工具包吗?我发现很容易从 MSDN 获得帮助,但无法获得源文件。例如,here is a list on MSDN.
这和你要找的是中文的一样,但是是英文的
https://msdn.microsoft.com/en-us/library/a7tkse1h.aspx
不,你也不能从网上下载它
那么如何得到header呢?您必须至少安装一个可再发行的 C++ 并在硬盘驱动器中搜索以找到 header 的位置,搜索常见的 header,例如 String.h 或 Math.h
如果您不需要 VC++ 中的 header,而您只想要任何 header,您应该转到
https://gcc.gnu.org/mirrors.html
挑一个搜索libstdc文件夹,里面有header,例如:
ftp://gd.tuwien.ac.at/gnu/gcc/libstdc++/old-libg++-releases/iostream-0.62.tar.bz2
将为您提供 iostream headers(文件、fstream、iostream 或 ostream 等)
我可以从 Internet 上获取 C/C++ 标准头文件的独立集合,而不需要安装开发工具包吗?我发现很容易从 MSDN 获得帮助,但无法获得源文件。例如,here is a list on MSDN.
这和你要找的是中文的一样,但是是英文的
https://msdn.microsoft.com/en-us/library/a7tkse1h.aspx
不,你也不能从网上下载它
那么如何得到header呢?您必须至少安装一个可再发行的 C++ 并在硬盘驱动器中搜索以找到 header 的位置,搜索常见的 header,例如 String.h 或 Math.h
如果您不需要 VC++ 中的 header,而您只想要任何 header,您应该转到
https://gcc.gnu.org/mirrors.html
挑一个搜索libstdc文件夹,里面有header,例如:
ftp://gd.tuwien.ac.at/gnu/gcc/libstdc++/old-libg++-releases/iostream-0.62.tar.bz2
将为您提供 iostream headers(文件、fstream、iostream 或 ostream 等)