title: How to convert TChar[] array to std::string in VC++. Help on syntax
body: <p>Hi I have an array of type TCHAR arr[256]. I want to convert this TChar array to a std::string, so that I will able use the functions in the string class.</p>
  
  <p>Can anyone kindly let me know how to do this TCHAR[] to string conversion in VC++. </p>
  
  <p><strong>Also what is the syntax to do this:</strong>  </p>
  
  <pre><code>If TCHAR arr[256] is my array. 
  std::string str is my straing obj
  </code></pre>
  
  <p>.
  Will the foll syntax work fine: 
  str = arr;</p>
  
  <p>Thanks in advance.         </p>