>>> char sql[4096];
>>> sprintf(sql,"INSERT INTO log VALUES ('%d',%d)",i,j);
>>> rc=sqlite3_exec(db, sql,NULL,NULL,);
>>> if (rc != SQLITE_OK) {
>>> std::cout << errmsg << std::endl;
>>>
SQLITE_OK) {
>>> std::cout << errmsg << std::endl;
>>> sqlite3_free(errmsg);
>>> exit(-1);
>>> }
>>>}
>>>sqlite3_exec(db,"COMMIT",NULL,NULL,)
(-1);
>> }
>> }
>> sqlite3_exec(db,"COMMIT",NULL,NULL,);
>> sqlite3_close(db);
>> return 0;
>> }
>>
>>
>> Michael D. Black
>> Senior Scientist
>> Northrop Grumman Mission Systems
>>
eturn 0;
> }
>
>
> Michael D. Black
> Senior Scientist
> Northrop Grumman Mission Systems
>
>
>
>
> From: sqlite-users-boun...@sqlite.org on behalf of smengl90
> Sent: Tue 7/6/2010 2:33 PM
> To: sqlite-users@sqlite.org
>
qlite.org on behalf of smengl90
Sent: Tue 7/6/2010 2:33 PM
To: sqlite-users@sqlite.org
Subject: EXTERNAL:[sqlite] setup sqlite in vc++
Hi guys,
I am trying to setup sqlite to be used with VC++ 2008. Can someone show me
where I can find instructions on how to set it up? and do I need a c++
wrapper to c
5 matches
Mail list logo