Wednesday, May 16, 2012

Difference between angle bracket < > and double quotes “ ” while including header files in C?

From stackoverflow:
It's compiler dependent. That said, in general using " prioritizes headers in the current working directory over system headers. <> usually is used for system headers. From to the spec (Section 6.10.2):

2 comments:

Anonymous said...

Aw, this was a very nice post. Taking a few minutes and actual effort to create a really good article?
but what can I say? I put things off a whole lot and don't manage to get anything done.

Feel free to visit my web blog: The Full details

Anonymous said...

Your style is very unique in comparison to other folks I have read stuff
from. Thank you for posting when you've got the opportunity, Guess I will just bookmark this web site.

Also visit my web site: homepage here

Post a Comment