title: Format SQL query in c++
body: <p>I was wondering if there is something I can use in C++ similar to <a href="http://code.google.com/p/python-sqlparse/" rel="nofollow">"sqlparse" module in Python</a> to format my query. Do you know what can I use?</p>
  
  <p>I'm sorry for didn't provide an example before.
  I want that something like this:</p>
  
  <pre><code>SELECT MEMB.NAME, MEMB.AGE, AGE.GROUP FROM MEMB, AGE WHERE MEMB.AGE = AGE.AGE
  </code></pre>
  
  <p>Become this:</p>
  
  <pre><code>SELECT MEMB.NAME,
         MEMB.AGE,
         AGE.GROUP
  FROM   MEMB,
         AGE
  WHERE  MEMB.AGE = AGE.AGE
  </code></pre>
  
  <p>Thanks a lot.</p>