PDA

View Full Version : #import "sqlite3.h"




rahul29tech
Feb 26, 2012, 01:54 PM
i want to import this library, as i saw in an example #import "/usr/include/sqlite3.h"

so how i know that in my mac where this library is present?????

how to import this file in my application when i don't know where this library is actually present???

plz help me...



pmau
Feb 26, 2012, 02:00 PM
i want to import this library, as i saw in an example #import "/usr/include/sqlite3.h"

so how i know that in my mac where this library is present?????

how to import this file in my application when i don't know where this library is actually present???

plz help me...

sqlite3 is part of Mac OS X and is present on every system.

The path "/usr/include" is one of the system paths for headers, so the correct statement to use would be

#import <sqlite3.h>

Other than that, I really have a hard time understanding your question.

EDIT: Changed '"' to '<>', because this means "search system header paths"

rahul29tech
Feb 27, 2012, 02:09 AM
y this is soo sir???? am not understanding please tell me clearly , is it any mistake i did??