-->

Facebook

Jasper Roberts - Blog

Thursday, September 18, 2014

#include (directive)

Treats text in the file specified by filename as if it appeared in the current file.

Syntax:
  #include "filename"
  #include <filename>

#include "filename" searches the source path first, then the include path.

#include <filename> does not search the source directory.

Examples:
  #include <stdio.h>
#include "main.h"

No comments:

Post a Comment