I am working on iOS5.I am new for SQLite. I have created database named DemoDB.sqlite
Now for making connection with database I have added libsql3.0.dylib -library for SQLite.
But I received an error. “Error in readDataFromDatabase method”
Which library should I add?
-(void) readDataFromDatabase
{
sqlite3 *database;
}
The error I received is “use of undeclared identifier database”
The compiler cannot see the declaration of the sqlite 3 struct. Try importing or including the main SQLite3 API header file:
or