Aabha Geed
Aabha Geed

Reputation: 49

C pre processor not processing header files includes in form #include <header.h>

C pre processor not processing header files includes in form #include . It gives error: No such file or directory. The files that are included in form #include "header.h" are pre processed properly. How do solve this. I am using command:

cpp -P -I.PWD file.c

Upvotes: 0

Views: 342

Answers (1)

Yunnosch
Yunnosch

Reputation: 26763

#include "filename" is different from #include <filename>.
See (What is the difference between #include <filename> and #include "filename"?). `

Gist: #include <filename> does NOT search in ..

Upvotes: 0

Related Questions