title: CString to std::cout
body: <p>How to print CString to console? Trying this code, but got something like pointer is printed.</p>
  
  <pre><code>..
  #include &lt;iostream&gt;
  #include &lt;atlstr.h&gt;
  
  using namespace std;
  int _tmain(int argc, _TCHAR* argv[])
  {
  
      CString a= "ddd";
      cout&lt;&lt;a.GetString();
  }
  
  Output 00F56F0
  </code></pre>