<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-21167013.post6705924913133237888..comments</id><updated>2010-02-04T07:43:05.273-08:00</updated><title type='text'>Comments on EarthBrowser: SQLite C++ wrapper, so you don't have to</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.earthbrowser.com/feeds/6705924913133237888/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html'/><author><name>Matt Giger</name><uri>http://www.blogger.com/profile/08948284981378368476</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-21167013.post-8838917235386134713</id><published>2010-02-04T07:43:05.273-08:00</published><updated>2010-02-04T07:43:05.273-08:00</updated><title type='text'>thank , i will try it
ทีวีออนไลน์
</title><content type='html'>thank , i will try it&lt;br /&gt;&lt;a href="http://www.thaitvmax.com" rel="nofollow"&gt;ทีวีออนไลน์&lt;br /&gt;&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/8838917235386134713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/8838917235386134713'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1265298185273#c8838917235386134713' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-7464878991645833026</id><published>2010-01-11T23:00:02.038-08:00</published><updated>2010-01-11T23:00:02.038-08:00</updated><title type='text'>Matt,

Works great so far but I think u mixed up r...</title><content type='html'>Matt,&lt;br /&gt;&lt;br /&gt;Works great so far but I think u mixed up reset and finalize so binding of new variables for the insert example don&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;Add a finalize function and rework reset as follows:&lt;br /&gt;&lt;br /&gt;/// Delete a statement.&lt;br /&gt;void sql::finalize()&lt;br /&gt;{&lt;br /&gt; if(stmt_)&lt;br /&gt;  sqlite3_finalize(stmt_);&lt;br /&gt; stmt_ = 0;&lt;br /&gt; ipos_ = opos_ = icol_ = ocol_ = 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/// Reset the statement to allow new bindings to existing statement or rewind DB.&lt;br /&gt;void    sql::reset(void)&lt;br /&gt;{&lt;br /&gt; if (sqlite3_reset(stmt_) != SQLITE_OK)&lt;br /&gt;        throw new sd::db_error(&amp;quot;Failed to reset statement&amp;quot;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Again great wrapper otherwise.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/7464878991645833026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/7464878991645833026'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1263279602038#c7464878991645833026' title=''/><author><name>gg</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-6564257548061157350</id><published>2010-01-11T22:03:09.489-08:00</published><updated>2010-01-11T22:03:09.489-08:00</updated><title type='text'>thanks Matt, I've been kludging my own wrapper to ...</title><content type='html'>thanks Matt, I&amp;#39;ve been kludging my own wrapper to date but this is much cleaner and more complete.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/6564257548061157350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/6564257548061157350'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1263276189489#c6564257548061157350' title=''/><author><name>gg</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-6533548827851065656</id><published>2009-09-30T00:56:19.491-07:00</published><updated>2009-09-30T00:56:19.491-07:00</updated><title type='text'>Great, it's just what I want!
but the insert data ...</title><content type='html'>Great, it&amp;#39;s just what I want!&lt;br /&gt;but the insert data in the example doesn&amp;#39;t work for me, I&amp;#39;m using gcc version 4.0.1 (Apple Inc. build 5493) under MacOS. I checked the code but could not find when did you do the sql.step(), the only place is sql &amp;lt;&amp;lt; end, but I don&amp;#39;t know how to do it, and could not find the code in your example.&lt;br /&gt;&lt;br /&gt;so I changed the test code to :&lt;br /&gt;sd::sql insert_query(database); // build an sql query&lt;br /&gt;insert_query &amp;lt;&amp;lt; &amp;quot;insert into work (first_name, last_name, hours) VALUES(?, ?, ?)&amp;quot;;&lt;br /&gt;&lt;br /&gt;database &amp;lt;&amp;lt; &amp;quot;begin transaction&amp;quot;;// create a transaction for speed&lt;br /&gt;&lt;br /&gt;// insert data (sdsqlite will auto-detect data type and execure query)&lt;br /&gt;insert_query &amp;lt;&amp;lt; &amp;quot;Joe&amp;quot; &amp;lt;&amp;lt; &amp;quot;Smith&amp;quot; &amp;lt;&amp;lt; 1 ;&lt;br /&gt;if(!insert_query.step()){&lt;br /&gt; cout &amp;lt;&amp;lt; &amp;quot;error insert 1&amp;quot; &amp;lt;&amp;lt; endl;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;insert_query &amp;lt;&amp;lt; &amp;quot;insert into work (first_name, last_name, hours) VALUES(?, ?, ?)&amp;quot; &amp;lt;&amp;lt; &amp;quot;tom&amp;quot; &amp;lt;&amp;lt; &amp;quot;pet&amp;quot; &amp;lt;&amp;lt; 2.5 ;&lt;br /&gt;if(!insert_query.step()){&lt;br /&gt; cout &amp;lt;&amp;lt; &amp;quot;error insert 2&amp;quot; &amp;lt;&amp;lt; endl;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;after that, it works, is that a problem? thanks for the great wrapper, it will save me a lot of time.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/6533548827851065656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/6533548827851065656'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1254297379491#c6533548827851065656' title=''/><author><name>Wade</name><uri>http://www.blogger.com/profile/16005755175878565858</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-8021634768744540184</id><published>2009-09-06T14:44:31.646-07:00</published><updated>2009-09-06T14:44:31.646-07:00</updated><title type='text'>The SQLite API is quite straightforward to begin w...</title><content type='html'>The SQLite API is quite straightforward to begin with. It is not much more complicated than learning fopen/fclose/fread/fwrite in Posix. &lt;br /&gt;&lt;br /&gt;If C++ is not your thing, there are lots of bindings to other languages. Check out my site at http://www.squidoo.com/sqliteprogramming for more details.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/8021634768744540184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/8021634768744540184'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1252273471646#c8021634768744540184' title=''/><author><name>Jay Godse</name><uri>http://www.squidoo.com/sqlitehammer</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-9093422264438931728</id><published>2009-07-15T01:25:35.877-07:00</published><updated>2009-07-15T01:25:35.877-07:00</updated><title type='text'>thank , i will try it

ดูทีวี
วิทยุ</title><content type='html'>thank , i will try it&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dootv.com" title="ดูทีวี" rel="nofollow"&gt;ดูทีวี&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;a href="http://www.dootv.com" title="วิทยุ" rel="nofollow"&gt;วิทยุ&lt;/a&gt;&lt;br&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/9093422264438931728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/9093422264438931728'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1247646335877#c9093422264438931728' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-3412184300585127686</id><published>2009-06-09T07:57:07.896-07:00</published><updated>2009-06-09T07:57:07.896-07:00</updated><title type='text'>You would probably want to use the standard "alter...</title><content type='html'>You would probably want to use the standard &amp;quot;alter table&amp;quot; command for SQLite which is described &lt;a href="http://www.sqlite.org/lang_altertable.html" rel="nofollow"&gt;here&lt;/a&gt;. A simple example would be &amp;quot;alter table mytable add column newcolumn integer&amp;quot;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/3412184300585127686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/3412184300585127686'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1244559427896#c3412184300585127686' title=''/><author><name>Matt Giger</name><uri>http://www.blogger.com/profile/08948284981378368476</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06706944231596986727'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-3458833604765938252</id><published>2009-06-09T07:50:19.146-07:00</published><updated>2009-06-09T07:50:19.146-07:00</updated><title type='text'>can you write me that as those examples?</title><content type='html'>can you write me that as those examples?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/3458833604765938252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/3458833604765938252'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1244559019146#c3458833604765938252' title=''/><author><name>kishore</name><uri>http://www.blogger.com/profile/07343902998564505264</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-4225903134317707381</id><published>2009-06-09T07:49:17.083-07:00</published><updated>2009-06-09T07:49:17.083-07:00</updated><title type='text'>ya..i know that those are examples.But I'm using i...</title><content type='html'>ya..i know that those are examples.But I&amp;#39;m using it my application,in which I have to add a column in existing table making sure that it doesn&amp;#39;t exists before.Can you tell me,how can I do this?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/4225903134317707381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/4225903134317707381'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1244558957083#c4225903134317707381' title=''/><author><name>kishore</name><uri>http://www.blogger.com/profile/07343902998564505264</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-3591340038130191193</id><published>2009-06-09T07:45:53.002-07:00</published><updated>2009-06-09T07:45:53.002-07:00</updated><title type='text'>The wrapper doesn't contain any fields by itself ,...</title><content type='html'>The wrapper doesn&amp;#39;t contain any fields by itself , those statements you see are just examples. You can specify any sql statement you like, with whatever fields your table has, to extract and/or insert data into your table.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/3591340038130191193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/3591340038130191193'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1244558753002#c3591340038130191193' title=''/><author><name>Matt Giger</name><uri>http://www.blogger.com/profile/08948284981378368476</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06706944231596986727'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21167013.post-6186368419182005233</id><published>2009-06-09T01:26:09.634-07:00</published><updated>2009-06-09T01:26:09.634-07:00</updated><title type='text'>how can i add a column in the table if the column ...</title><content type='html'>how can i add a column in the table if the column doesn&amp;#39;t exists using your wrapper?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/6186368419182005233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21167013/6705924913133237888/comments/default/6186368419182005233'/><link rel='alternate' type='text/html' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html?showComment=1244535969634#c6186368419182005233' title=''/><author><name>kishore</name><uri>http://www.blogger.com/profile/07343902998564505264</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.earthbrowser.com/2009/05/sqlite-c-wrapper-so-you-dont-have-to.html' ref='tag:blogger.com,1999:blog-21167013.post-6705924913133237888' source='http://www.blogger.com/feeds/21167013/posts/default/6705924913133237888' type='text/html'/></entry></feed>