Hi, I want to compose a query that will use a c++ variable. For example I
have:
int i= 5;
char * query = "SELECT * from userInfo WHERE count<'i'".
The syntax does not work. How do I do that?
Thanks
--
View this message in context:
--
View this message in context:
http://old.nabble.com/sqlite-query-with-c-tp29120975p29120975.html
Sent from the SQLite mailing list archive at Nabble.com.
___
sqlite-users mailing list
sqlite-users@sqlite.org
Still doesn't work. Do I need the precompiled binaries at all? or including
sqlite3.c and sqlite3.h found in the amalgamation is enough?
SimonDavies wrote:
>
> On 7 July 2010 18:19, smengl90 <fixed-term.seak.meng...@us.bosch.com>
> wrote:
>>
>> Ok, I did just that
still doesn't work. Do I need to download the precompiled binaries at all? or
including the sqlite3.c and sqite3.h found in the amalgamation is enough?
smengl90 wrote:
>
> Here is my email address fixed-term.seak.meng...@us.bosch.com
>
> Thanks
>
>
> Black, Michael (I
d you
> can try it on the non-Express version.
>
>
> Michael D. Black
> Senior Scientist
> Northrop Grumman Mission Systems
>
>
>
>
> From: sqlite-users-boun...@sqlite.org on behalf of smengl90
> Sent: Wed 7/7/2010 12:19 PM
&
>
>
> ____
>
> From: sqlite-users-boun...@sqlite.org on behalf of smengl90
> Sent: Tue 7/6/2010 5:09 PM
> To: sqlite-users@sqlite.org
> Subject: EXTERNAL:Re: [sqlite] EXTERNAL: setup sqlite in vc++
>
>
>
>
> I found out that in
I found out that including the header file alone is not enough. I need to
link the sqlite lib to my project. But how can can I get the lib?
smengl90 wrote:
>
> Thanks for prompt replies. I did as you advised, and included the .h file
> as a source file and copied your code. B
QLITE_OK) {
> std::cout << errmsg << std::endl;
> sqlite3_free(errmsg);
> exit(-1);
> }
> }
> sqlite3_exec(db,"COMMIT",NULL,NULL,);
> sqlite3_close(db);
> r
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 code in C++? If yes, can someone also show how to setup the
wrapper?
Thanks
--
View this message in context:
9 matches
Mail list logo