On 13 Mar 2012, at 2:28am, YAN HONG YE <yanhong...@mpsa.com> wrote: > here my code,where is wrong? > char mma[250]; > strcpy(mma,"sqlite3 foods.db \" .separator ',' \" \".import dzhhkmysql.txt > dzh\""); > system(mma); > _______________
Instead of using system(), write that text to a file. Then see what the file looks like. Then type the file into the computer yourself and watch what happens. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users