dark0s dark0s <[EMAIL PROTECTED]> wrote:
> Hi all, after writing my program, I typed:
>
> bash-3.1# gcc -lsqlite3 CreaDB.c -o creadb
> CreaDB.c: In function 'main':
> CreaDB.c:35: error: too few arguments to function 'sqlite3_bind_text'
> CreaDB.c:36: error: too few arguments to function 'sqlite3_bind_text'
> CreaDB.c:37: error: too few arguments to function 'sqlite3_bind_text'
>
> But I don't see the problem, my program is:
>
>  sqlite3_bind_text(stmt, 2, "nome1");

Reread the documentation (http://www.sqlite.org/c3ref/bind_blob.html). 
sqlite3_bind_text is documented to take five parameters. You are only 
passing three.

Igor Tandetnik 



_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to