C Plus Plus include

From GMpedia.org Wiki

Jump to: navigation, search

A C++ #include is a very commond C++ Command that includes files in the C++ File.

[edit] Calling it

To call an #include function, simply use the following syntax:

#include "file.ext"

Where file is the filename and ext is the extension.

Quotation marks are used to include file within the same directory as the file with the #include statement, whereas <>'s are used to include files in the compiler's include folder, directories indicated with the "/I" compiler option, or the path contained in the INCLUDE environment variable.

[edit] Common Includes

[edit] See Also

Personal tools