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:
http://old.nabble.com/sqlite-query-with-c%2B%2B-variable
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?
smengl90,
You
smengl90 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?
I think your primary problem is lack of experience in C++. I
strongly recommend