Re: Re[2]: [sqlite] A lillte help adding sqlite to a c program

2006-09-11 Thread Lloyd Thomas
, 2006 1:32 PM Subject: Re: Re[2]: [sqlite] A lillte help adding sqlite to a c program On Sun, 10 Sep 2006 13:02:58 +0100, you wrote: Thanks Teg, I have been trying to do using a basic example but still running into problems. Can you expand a little more on your example below. This is where I am

Re: Re[2]: [sqlite] A lillte help adding sqlite to a c program

2006-09-10 Thread Lloyd Thomas
- Original Message - From: Teg [EMAIL PROTECTED] To: Lloyd Thomas sqlite-users@sqlite.org Sent: Sunday, September 10, 2006 12:47 AM Subject: Re[2]: [sqlite] A lillte help adding sqlite to a c program Hello Lloyd, You need to escape the quotes. Remember in C and C++ means

Re: Re[2]: [sqlite] A lillte help adding sqlite to a c program

2006-09-10 Thread tls
On Sun, 10 Sep 2006 13:02:58 +0100, you wrote: Thanks Teg, I have been trying to do using a basic example but still running into problems. Can you expand a little more on your example below. This is where I am so far. I am getting a bit closer bit still getting some errors. clearly I am still

Re: Re[2]: [sqlite] A lillte help adding sqlite to a c program

2006-09-10 Thread Lloyd Thomas
thing else ?? break; } break; - - Original Message - From: [EMAIL PROTECTED] To: sqlite-users@sqlite.org Sent: Sunday, September 10, 2006 1:32 PM Subject: Re: Re[2]: [sqlite] A lillte help adding sqlite to a c

[sqlite] A lillte help adding sqlite to a c program

2006-09-09 Thread Lloyd Thomas
I know nothing of C++ and therefore need a lilte help editing a C++ app to insert some records into a database. This is where I am so far #include sqlite.h sqlite *db; //insert record into database

Re: [sqlite] A lillte help adding sqlite to a c program

2006-09-09 Thread Mark Richards
Maybe. Here's what I do (in c). DoSql() is a wrapper function. I've included a callback function (and associated structure) below it. The call is made thusly: static char cData[1024]; char query[255]; snprintf(query, QUERY_SIZE, SELECT * FROM inikeys WHERE inisection = \%s\ AND

Re: [sqlite] A lillte help adding sqlite to a c program

2006-09-09 Thread Jay Sprenkle
On 9/9/06, Lloyd Thomas [EMAIL PROTECTED] wrote: I know nothing of C++ and therefore need a lilte help editing a C++ app to insert some records into a database. here's an example to read from a database. If you build the sql like you're doing and you use it on the web you leave yourself open

Re: [sqlite] A lillte help adding sqlite to a c program

2006-09-09 Thread Lloyd Thomas
+'+details.channel+','+details.filename+'); - Original Message - From: Jay Sprenkle [EMAIL PROTECTED] To: sqlite-users@sqlite.org Sent: Saturday, September 09, 2006 11:16 PM Subject: Re: [sqlite] A lillte help adding sqlite to a c program On 9/9/06, Lloyd Thomas [EMAIL PROTECTED] wrote: I

Re: [sqlite] A lillte help adding sqlite to a c program

2006-09-09 Thread Mark Richards
@sqlite.org Sent: Saturday, September 09, 2006 11:16 PM Subject: Re: [sqlite] A lillte help adding sqlite to a c program On 9/9/06, Lloyd Thomas [EMAIL PROTECTED] wrote: I know nothing of C++ and therefore need a lilte help editing a C++ app to insert some records into a database. here's an example

Re[2]: [sqlite] A lillte help adding sqlite to a c program

2006-09-09 Thread Teg
+','+details.filename+'); LT - Original Message - LT From: Jay Sprenkle [EMAIL PROTECTED] LT To: sqlite-users@sqlite.org LT Sent: Saturday, September 09, 2006 11:16 PM LT Subject: Re: [sqlite] A lillte help adding sqlite to a c program On 9/9/06, Lloyd Thomas [EMAIL PROTECTED] wrote: I

Re: Re[2]: [sqlite] A lillte help adding sqlite to a c program

2006-09-09 Thread Lloyd Thomas
[EMAIL PROTECTED] To: Lloyd Thomas sqlite-users@sqlite.org Sent: Sunday, September 10, 2006 12:47 AM Subject: Re[2]: [sqlite] A lillte help adding sqlite to a c program Hello Lloyd, You need to escape the quotes. Remember in C and C++ means the beginning or end of a literal string so, when you

Re[4]: [sqlite] A lillte help adding sqlite to a c program

2006-09-09 Thread Teg
Message - LT From: Teg [EMAIL PROTECTED] LT To: Lloyd Thomas sqlite-users@sqlite.org LT Sent: Sunday, September 10, 2006 12:47 AM LT Subject: Re[2]: [sqlite] A lillte help adding sqlite to a c program Hello Lloyd, You need to escape the quotes. Remember in C and C++ means the beginning or end