Possible Duplicate:
What is the difference between #import and #include in Objective-C?
What is the difference between
#include< >
#include" "
#import< >
#import" "
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
#importdirective is an improved version of#include.#importensures that a file is only ever included once so that you never have a problem with recursive includes.#import ""first check the header in project folder then goes to system library, and the#import<>checks for system headers”. In theory the locations are compiler defined and they could be implemented differently on a given platform.