nshaw writes:
Help!
I've done everything I can think of to pass arguments to SQLite and
nothing
is working. If anyone has information on how to do it, I'd appreciate
it.
Here's a code segment:
[edited to remove SQL3-related material]
int main (int argc, char **argv)
{
char
Hello nshaw,
std::string m_sSQL = CREATE TABLE IF NOT EXISTS ;
m_sSQL += g_pszTableName;
m_sSQL += ( ;
m_sSQL += AR_FilenameTEXT PRIMARY KEY, ;
m_sSQL += AR_Subject TEXT , ;
m_sSQL +=
nshaw wrote:
Help!
I've done everything I can think of to pass arguments to SQLite and nothing
is working. If anyone has information on how to do it, I'd appreciate it.
Here's a code segment:
#include iostream
#include stdio.h
#include stdlib.h
#include
Thanks, Ted. I'll give this a shot.
Regards,
Nick.
Teg wrote:
Hello nshaw,
std::string m_sSQL = CREATE TABLE IF NOT EXISTS ;
m_sSQL += g_pszTableName;
m_sSQL += ( ;
m_sSQL += AR_FilenameTEXT PRIMARY KEY,
;
m_sSQL +=
, 2007 3:29 PM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Passing Arguments to SQLite3 from C++
Thanks, Ted. I'll give this a shot.
Regards,
Nick.
Teg wrote:
[snip]
std::string m_sSQL = insert into family (member,age) values
;
m_sSQL += ( ;
m_sSQL