📄 questions.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <meta name="generator" content="HTML Tidy for Linux/x86 (vers 1st October 2002), see www.w3.org"> <title>Questions?</title> </head> <body bgcolor="#ffffff"> <table width="100%" bgcolor="#eeeeff"> <tr> <td><a href="index.html">cppreference.com</a> -> FAQ</td> </tr> </table> <table> <tr> <td> <h1>Frequently Asked Questions</h1> <h3>Who is this site meant for?</h3> There are no "Introduction to Programming" tutorials here. This site is meant to be used by more-or-less experienced C++ programmers, who have a good idea of what they want to do and simply need to look up the syntax. If you're interested in learning C/C++, try one of these sites: <ul> <li><a href="http://www.howstuffworks.com/c.htm">How C Programming Works</a></li> <li><a href="http://www.strath.ac.uk/CC/Courses/NewCcourse/ccourse.html">C Programming</a></li> <li><a href="http://www.cplusplus.com/doc/tutorial/">C++ Language Tutorial</a></li> </ul> <h3>Does this site contain a complete and definitive list of C/C++ functions?</h3> Few things in life are absolute. If you don't find what you are looking for here, don't assume that it doesn't exist. Do a search on <a href="http://www.google.com">Google</a> for it. <h3>Is there an archived version of this site available?</h3> You can download an archived version of cppreference.com <a href= "cppreference-files.tar.gz">here</a>. If you're interested in getting archived versions of websites in general, you might want to check out utilities like <a href= "http://www.gnu.org/software/wget/wget.html">GNU's wget</a> (Windows version <a href= "http://www.interlog.com/~tcharron/wgetwin.html">here</a>). <h3>Some of the examples on this site don't work on my system. What's going on?</h3> Most of the code on this site was compiled under <a href="http://www.linux.com">Linux</a> (<a href= "http://www.redhat.com">Red Hat</a> or <a href="http://www.debian.org">Debian</a>) with the <a href="http://www.gnu.org">GNU</a> <a href="http://www.gnu.org/software/gcc/gcc.html">Compiler Collection</a>. Since this site is merely a reference for the <a href= "http://webstore.ansi.org/ansidocstore/product.asp?sku=ISO%2FIEC+14882%3A2003">Standard C and C++ specification</a>, (check <a href="http://www.ncits.org/cplusplus.htm">here</a>, too) not every compiler will support every function listed here. For example, <ul> <!-- <LI>I've never had much luck getting <A HREF="cppbitset.html">C++ Bitsets</A> to work on my computer - but they're listed here. not needed now --> <li> Header files change like mad. To include the necessary support for <a href="cppvector.html">C++ Vectors</a>, you might have to use any of these: <pre>#include <vector>#include <Vector>#include <vector.h></pre> (according to the spec, the first of those should work, and the compiler should know enough to use it to reference the real vector header file.) </li> <li> Another header file issue is that newer compilers can use a more platform-independent commands to include standard C libraries. For example, you might be able to use <pre>#include <cstdio></pre> instead of <pre>#include <stdio.h></pre> </li> <li> All of the code on this site assumes that the correct namespace has been designated. If your compiler is a little old, then you might be able to get away with using simple statements like: <pre> cout << "hello world!";</pre> However, newer compilers require that you either use <pre> std::cout << "hello world!";</pre> or declare what namespace to use with the "using namespace" command. </li> <li>Certain popular compilers (like the one shipped with Microsoft's Visual C++) have alternative or additions to the C++ Standard Template Library. For example, the MFC in Visual C++ provides you with the string type "CString", which has string functionality but is not part of the C++ STL.</li> </ul> ...The list goes on and on. In other words, individual results may vary. <h3>You've got an error in this site.</h3> If you find any errors in this reference, please feel free to <a href= "mailto:comments@cppreference.com">contact us</a> -- feedback and code examples are always welcome. <h3>What's up with this site?</h3> Think of it as a community service, for geeks. </td> </tr> </table> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -