PDA

View Full Version : [SOLVED] C Programming



lewisforlife
December 2nd, 2009, 09:07 PM
What is the difference between


#include "file.h"

and


#include <file.h>

Simian Man
December 2nd, 2009, 09:10 PM
The former searches the current directory for the file whereas the latter searches the system include path. Use "" for files that you wrote that are part of the same project. Use <> for files that are part of system libraries (these usually reside in /usr/include).