title: C++ Convert int to wchar_t*
body: <p>So I've been trying to convert integer values to wchar_t*. This is the test I run so I could simplify it as much as I can.    </p>
  
  <pre><code>int test=123;
  wchar_t *testc[12][12];testc[0][0]=L"hello";
  _itow(test,testc[0][0],10);
  wcout&lt;&lt;testc[0][0];
  </code></pre>
  
  <p>This code right here compiles but also gives me the Not Responding error of doom.
  What is VERY strange for my understanding is why this </p>
  
  <pre><code>int test=123;
  wchar_t *testc[12][12];testc[0][0]=L"hello";
  _itow(test,testc[1][0],10);
  wcout&lt;&lt;testc[0][0]&lt;&lt;testc[1][0];
  </code></pre>
  
  <p>Works without any problem, and showing the output "hello123" just as intended.</p>
  
  <p>Any idea why this happens?</p>
  
  <p>My project has some occurrences similar to the first code shown (except the wcout part), thus I want to understand why they give me the Not Responding state.</p>