title: Adding sqlite3.h inside eclipse
body: <p>Hello I am Trying to connect my c++ app to sqlite db.I have downloaded and included sqlite3.dll following this link <a href="http://www.forexfactory.com/showthread.php?p=5250053" rel="nofollow">http://www.forexfactory.com/showthread.php?p=5250053</a>
  but still i am getting  </p>
  
  <h1>include as unresolved inclusion.</h1>
  
  <p>my code</p>
  
  <pre><code> #include &lt;iostream&gt;
  using namespace std;
   #include &lt;sqlite3.h&gt;
  
   int main (int argc, const char * argv[]) {
  
  sqlite3 *db;
  sqlite3_open("test.db", &amp; db);
  
     string createQuery = "CREATE TABLE IF NOT EXISTS items (busid INTEGER PRIMARY KEY, ipaddr TEXT,    time TEXT NOT NULL DEFAULT (NOW()));";
     sqlite3_stmt *createStmt;
    cout &lt;&lt; "Creating Table Statement" &lt;&lt; endl;
    sqlite3_prepare_v2(db, createQuery.c_str(), createQuery.size(), &amp;createStmt, NULL);
     cout &lt;&lt; "Stepping Table Statement" &lt;&lt; endl;
     if (sqlite3_step(createStmt) != SQLITE_DONE) cout &lt;&lt; "Didn't Create Table!" &lt;&lt; endl;
  
     string insertQuery = "INSERT INTO items (time, ipaddr) VALUES ('test', '192.168.1.1');"; // WORKS!
  
  
     sqlite3_stmt *insertStmt;
     cout &lt;&lt; "Creating Insert Statement" &lt;&lt; endl;
     sqlite3_prepare(db, insertQuery.c_str(), insertQuery.size(), &amp;insertStmt, NULL);
     cout &lt;&lt; "Stepping Insert Statement" &lt;&lt; endl;
     if (sqlite3_step(insertStmt) != SQLITE_DONE) cout &lt;&lt; "Didn't Insert Item!" &lt;&lt; endl;
  
  cout &lt;&lt; "Success!" &lt;&lt; endl;
  
   return 0;
  }
  </code></pre>