On Fri, Jul 9, 2010 at 2:48 PM, smengl90
<fixed-term.seak.meng...@us.bosch.com> wrote:
> 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?


You are asking a question that would be answered in an decent tutorial
on C/C++ programming.  Based on your earlier questions about how to
compile/link C/C++ code and now this question, I have to say:

You might get a lot farther, a lot faster, if you step back from
sqlite for a little bit and dig into basic C/C++ programming.

sqlite-users mailing list

Reply via email to