title: how to get spcecial charecter input and store in char or string variable? special characters means © or ž
body: <pre><code>// Microsoft visual studio 2010
  
  #include &lt;iostream&gt;
  #include &lt;string&gt;
  
  using namespace std;
  
  int main()
  {
      char password;
      string strPassword;
  
      cin &gt;&gt; password; // only for single character 
      cin &gt;&gt; strPassword // for string storage
  
      /* 1. but when I give input © it will store as single character c, not as ©.
      I want to store it as © in my variable 'password' or 'strPassword' so  that I can compare it with my pre-stored password
      2. I also want to know about stdint.h 
     what is it ? why we need it and how it helps us (especially for streaming).
      */
  
      return 0;
  }
  </code></pre>