title: c++ _bstr_t instead of use string
body: <p>I have some code to read file,but it is used std::string, i need to use  _bstr_t
  the code follow can works fine. how to change the type?</p>
  
  <pre><code>   std::ifstream inFile("QdatPassWordconfig.config");
    std::string sPassWord; //(here, i need to use _bstr_t)
    std::string sTemp;
    if (inFile.is_open())
    {
        if(std::getline(inFile,sTemp)) 
        {
              cout&lt;&lt;sTemp&lt;&lt;endl;
              sPassWord=sTemp;
        }
    }
  </code></pre>