Re: [sqlite] Simple example for dummy user writing C code

2009-04-02 Thread My Name
On Thu, Apr 2, 2009 at 3:54 PM, Rich Rattanni wrote: > Igor, be careful your not solving someone's homework > Not homework but real work :-) ___ sqlite-users mailing list sqlite-users@sqlite.org

[sqlite] Simple example for dummy user writing C code

2009-04-01 Thread My Name
I'm having hard time to store and retrieve data with SQLite. Let's assume I have this structure in my C code to hold my data struct foo {   long a;   float b;   char c[1024];   int d; } so the SQL definition would be CREATE TABLE foo (  a LONG;  b FLOAT;  c VARCHAR(1024);  d INT; ); In real