title: Error 'LC_TYPE' was not declared in this scope
body: <p>I'm writing program in c++ that is supposed to change letters in text to uppercase letters(Program works, but setlocale is not working). But it is giving me Error. [Error] 'LC_TYPE' was not declared in this scope. It "should" work because it is from my official faculty literature.    </p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  using namespace std;
  int main() {
  cout &lt;&lt; "Write something: " &lt;&lt; endl;
  string tekst; //tekst=text
  getline(cin, tekst);
  
  setlocale(LC_TYPE, "croatian"); // here is problem...
  
  for (char znak : tekst){  //znak=char, symbol...
      char velikoSlovo = toupper(znak); // velikoSlovo=uppercaseLetter
      cout &lt;&lt; velikoSlovo;
  }
  cout &lt;&lt; endl;   
  return 0;
  }
  </code></pre>
  
  <p>Anyone knows how to fix this??
  I'm using Orwell Dev C++ 5.9.2. Language standard (-std) is ISO C++ 11.
  <a href="http://i.imgur.com/Qo28zZW.png" rel="nofollow">Here is picture.</a></p>