used to use cmds

sudo mount -t vboxsf other_share /mnt/share/other_share

sudo mount -t vboxsf IMU_Proj /mnt/share/IMU_Proj




sudo mount -t vboxsf other_share /mnt/share/other_share
sudo mount -t vboxsf IMU_Proj /mnt/share/IMU_Proj


sudo mount -t vboxsf code /mnt/code
insert into class(name,sex,phone,adress)values('hk','male','11111','shanghai');
insert into class(name)values('hk');
insert into mytable(id,name,sex,phone,address)values(1,'hark','male','11111','beijing');
insert into mytable(name,sex,phone,address)values('rose','male','22222','hangzhou');
insert into mytable(name,sex,phone,address)values('yulong','male','33333','tieling');
insert into mytable(name,sex,phone,address)values('hk','male','44444','shanghai');
gcc hello.c –I /usr/local/sqlite/include –L /usr/local/sqlite/lib -lsqlite3 -o test_sqlite

gcc hello.c -I /usr/local/sqlite/include  -L /usr/local/sqlite/lib -lsqlite3 -o hello   

gcc 1_1.c -I /usr/local/sqlite/include  -L /usr/local/sqlite/lib -lsqlite3 -o hello

 g++ CppSQLite3Demo.cpp -I /usr/local/sqlite/include  -L /usr/local/sqlite/lib -lsqlite3 -o hello




================================


sudo g++ CppSQLite3.cpp  CppSQLite3Demo.cpp    -I /usr/local/sqlite/include  -L /usr/local/sqlite/lib -lsqlite3   -L /usr/local/libiconv


--->
/tmp/ccWk6WJ2.o: In function `CppSQLite3DB::compile(char const*)':
CppSQLite3.cpp:(.text+0x323a): undefined reference to `sqlite3_prepare_v2'
collect2: ld returned 1 exit status



sudo gcc -lstdc++ CppSQLite3.cpp  CppSQLite3Demo.cpp    -I /usr/local/sqlite/include  -L /usr/local/sqlite/lib -lsqlite3   -L /usr/local/libiconv



create table sc100_table(xh_id integer,xh_len integer,xh_cmd char);


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值