can anybody tell me that without using argc and argv in my main() program
how
can i pass sqlite3 statements in my C source code.
more precise is that this time i m opening the database using argc and argv
in my main and
in sqlite3_open() call. similarly in sqlite3_exec().
but how can i make queries in C source code to open, exec and other things
to my database without using these argc and argv.

waiting for the reply
regards
Nishit

On 8/31/07, John Stanton <[EMAIL PROTECTED]> wrote:
>
> nishit sharma wrote:
> > hi all,
> > i have made a sampe which is opening a database file but i m
> > unable to compile that source code and getting error that
> > undefined reference to sqlite3_open().
> > i m compiling as
> > gcc test.c
> >
> > can anybody tell that these is the command to compile
> > sqlite3 application or we have any other command
> >
> > waiting for reply
> >
> > regards
> > Nishit
> >
> You need to link with the sqlite3 library.
>
>
> -----------------------------------------------------------------------------
> To unsubscribe, send email to [EMAIL PROTECTED]
>
> -----------------------------------------------------------------------------
>
>

Reply via email to