September 10, 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
details.cidn[0] = 0;
details.cidt[0] = 0;
strcpy(details.term, "");
break;
default: // Any thing else ??
break;
}
break;
-----
- Original Message -
From: <[EMAIL PROT
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 st
ntf(stderr, "SQL error: %s\n", zErrMsg);
sqlite3_free(zErrMsg);
}
sqlite3_close(db);
---
Lloydie T
- Original Message -----
From: "Teg" <[EMAIL PROTECTED]>
To: "Lloyd Thomas"
Sent: Sunday, September 10, 2006 12:47 AM
Subject: Re[2]: [sqlite
all_time)values('details.inout','details.statime)"
Do you have any ideas?
Lloydie T
- Original Message -
From: "Teg" <[EMAIL PROTECTED]>
To: "Lloyd Thomas"
Sent: Sunday, September 10, 2006 12:47 AM
Subject: Re[2]: [sqlite] A lillte help addi
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 want to embed quotes
in a string you have to escape them. Probaby \".
You'd be better off using the paramaterized version of the SQL
std::string sql = "insert into call
6 matches
Mail list logo