Skip to content

Instantly share code, notes, and snippets.

@shau-lok
Created September 30, 2017 06:16
Show Gist options
  • Save shau-lok/51ad380f1499da3c75b648b8b6af1bc9 to your computer and use it in GitHub Desktop.
Save shau-lok/51ad380f1499da3c75b648b8b6af1bc9 to your computer and use it in GitHub Desktop.
cpp include
#include <file>
//This variant is used for system header files. It searches for a file named file in a standard list of system directories.
#include "file"
//This variant is used for header files of your own program. It searches for a file named file first in the directory containing the current file, then in the quote directories and then the same directories used for <file>. You can prepend directories to the list of quote directories with the -iquote option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment