SQLite3 C++ Connectors (VC++ 2010)

09/09/2012 14:25 ernilos#1
I'm trying to make a SQLite3 connection, i instelled well to VC++, but when I import and declare a connection give me errors...
I have that:
Code:
#include <sqlite3\sqlite3.h>
void main()
{
sqlite3 db;
}
Give me that:
Quote:
Error 6 error C2079: 'db' use struct 'sqlite3' not defined A:\LoginServer\LoginServer\main.cpp 130 1 LoginServer
Help? :/
09/09/2012 15:40 SmackJew#2
Check your include directories.
09/09/2012 18:02 ernilos#3
Quote:
Originally Posted by SmackJew View Post
Check your include directories.
I have well all files for sqlite3...
09/09/2012 18:26 bloodx#4
#include <sqlite3/sqlite3.h>
09/09/2012 21:06 ernilos#5
Quote:
Originally Posted by bloodx View Post
#include <sqlite3/sqlite3.h>
See the code...
09/11/2012 20:19 MrSm!th#6
Is there a namespace?