title: Adding strings to MySQL++ queries
body: <p>I am trying out <a href="http://tangentsoft.net/mysql++/" rel="nofollow">MySQL++</a> and am looking into queries. I'd like to be able to insert string variables into my queries, so that something like this:</p>
  
  <pre><code>query &lt;&lt; "CREATE TABLE beer (" 
        &lt;&lt; "beerID smallint(3) unsigned NOT NULL AUTO_INCREMENT,"
        &lt;&lt; "beerName varchar(30) NOT NULL,"
        &lt;&lt; "PRIMARY KEY (beerID));";
  </code></pre>
  
  <p>could be something like:</p>
  
  <pre><code>query &lt;&lt; "CREATE TABLE " &lt;&lt; tableName &lt;&lt; " (" 
        &lt;&lt; fieldName1 &lt;&lt; " smallint(3) unsigned NOT NULL AUTO_INCREMENT,"
        &lt;&lt; fieldName2 &lt;&lt; " varchar(30) NOT NULL,"
        &lt;&lt; "PRIMARY KEY (" &lt;&lt; fieldName1 &lt;&lt; "));";
  </code></pre>
  
  <p>where <em>tableName</em>, <em>fieldName1</em>, and <em>fieldName2</em> are all some type of string variables that can be modified at runtime so that a user can define the table and field names (and later table data) while the application is running. Is such a thing possible? If so, how? The documentation I've seen isn't very clear on this and I haven't had any success using C++ strings.</p>