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

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

2009-04-02 Thread Rich Rattanni
Oops, hit send to soon. Your second question has been discussed in the thread "IP from number with SQL" started on Sun, Mar 15, 2009 at 4:10 PM. Of course with the knowledge that IPv6 is just IPv4 with more bits thrown at it, you can tweak the discussion to suit your needs. On Thu, Apr 2, 2009

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

2009-04-02 Thread Rich Rattanni
Igor, be careful your not solving someone's homework On Thu, Apr 2, 2009 at 7:39 AM, Igor Tandetnik wrote: > "My Name" > wrote in message > news:ee8102080904012149h3b8d64d9u8b972b1e6fbbf...@mail.gmail.com >> I'm having hard time to store and

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

2009-04-02 Thread Igor Tandetnik
"My Name" wrote in message news:ee8102080904012149h3b8d64d9u8b972b1e6fbbf...@mail.gmail.com > 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

[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