On Thu, 2 Apr 2009 00:20:15 -0700, centipede moto <cent1p...@hotmail.com> wrote:
>g++ -Wall cmxmc.cpp -lsqlite3 -o cmxmc I won't comment on your compile / link problems, I'm not familiar with Ubuntu and g++. I hope you read the documentation and FAQ on the SQLite site. >Here is my app code: > >#include <stdio.h> >#include <stdlib.h> >#include <iostream> >#include <string.h> >#include <sqlite3.h> > >int main() >{ > // create the database > sqlite3 *db; > int rc; > > rc = sqlite3_open("cmx.db", &db); >} This code will not create a database file, because there is no schema to store. You have to create at least one table in the database to convince sqlite it's worth to create it. >What folders should I be looking in to verify that >sqlite3 is where it needs to be on my system? Try: find / -name '*sqlite*' -ls | more It will take quite a while, but if it's your personal system it won't hurt anybody. >Thanks! -- ( Kees Nuyt ) c[_] _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users