On Wed, Nov 2, 2011 at 2:57 AM, Teg <t...@djii.com> wrote: > What happens if you replace all the sprinfs with some simple inserts > inserted directly into vector? > > dbStatements.push_back("INSERT INTO..."); >
Since you need integers and floats in your strings, you can use std::ostringstream as a replacement for sprintf(): std::ostringstring q; q << "SELECT .... " << x << " ... "; dbStatements.push_back( q.str() ); -- ----- stephan beal http://wanderinghorse.net/home/stephan/ _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users