/* _______ __ __ __ __ \ \ ____ __ __ _______ |__|| | | | |__| ____ ____ / | \ _/ __ \ | | \\_ __ \| || | | | | | / _ \ / \ / | \\ ___/ | | / | | \/| || |__| |__| |( <_> )| | \ \____|__ / \___ >|____/ |__| |__||____/|____/|__| \____/ |___| / =========\/======\/=================================================\/== v0.01 03/AUG/2007 (C) Copyright 2007-2007 Scott D. Yelich SOME RIGHTS RESERVED .,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.-*~'`^`'~*-,._.,-*~'`^`'~*-,. LICENSE: Creative Commons Attribution 3.0 License. SEE: http://creativecommons.org/licenses/by/3.0/ Mon Aug 13 23:19:12 EDT 2007, v0.01 sdy This is a *very* simple program written to do test basic sqlite3 functionality. */ // C++ #include #include #include // LOCAL #include "Xql3.h" // Sqlite3 class Xql4 : public Xql3 { public: std::vector h; // used to hold reponse headers. std::vector d; // used to hold response data. int callback(std::vector & headers, std::vector & data ) { std::cout << "Xql4::callback()\n"; int header_count = headers.size(); int i; if ( h.size() == 0 && header_count > 0 ) { for(i=0; i 0 ) { for(i=0; i 0 ) { int i; char sep = '|'; for(i=0; i " << sql3.dberrmsg() << std::endl; std::cerr << "Xql3Exception: " << e.code() << " --> " << e.what() << std::endl; sql3.close(); } }