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 that you read up on the language itself before attempting to write SQLite applications. Are you required to use C++? You may find it (much, much) easier to use Tcl at first. If I may ask: are you a student, or doing this for fun in your spare time, or is this a part of your job? Eric -- Eric A. Smith Windows is *NOT* a virus - viruses are small and efficient. _______________________________________________ sqlite-users mailing list firstname.lastname@example.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users