title: How Would I Convert an Integer to Char* C++
body: <p>I have a fork process that adds 2 numbers and returns an integer.</p>
  
  <p>The only problem is that the sum is an integer and in order to keep returning the array I need a char* pointing to that integer.</p>
  
  <p>Any ideas how i could accomplish this in C++; (I cannot use the String.h library)</p>
  
  <p>Edit**</p>
  
  <p>This is the portion of code i'm working with</p>
  
  <pre><code> //process has been completed
  else
  {
  for(int q=0; q&lt;numofProc; q++)
  {
  wait(&amp;status);
  if (WIFEXITED(status))
      {
      value = WEXITSTATUS(status);
  temp = (char)(value);
      char* pointer = (char*)temp;
  sumArray[sizeSum] = pointer;
  sizeSum++;
      }
  }
  </code></pre>
  
  <p>Thank you!</p>