title: Converting integers into a char* c++
body: <p>Here is the function I have, "Sprite" is an object in the program, and "GetSpriteAtPosition" just returns a pointer to the correct sprite at the coordinates.</p>
  
  <p>My problem is that I store a letter in each sprite, in the form of an integer. 0 is a, and 25 is z, with everything in between respectively. I need my function to return a char* that gives me the letters of a row of sprites, so if in the program the sprites spell out "abcdefgh", then that's what I need this function to print out. There's an 8x8 grid of sprites, and I'm getting the coordinates correctly, but I get an error that I can't convert an int to a char* in the marked line. What can I do to get this to work?</p>
  
  <p>Thanks in advance!</p>
  
  <pre><code>char* RowLetters(int row)
  {
      char* pointer;
      for( int i = 0; i &lt; 8; i++)
      {
          Sprite* selectedSprite = SpriteAtPosition(row*50, i * 50);
          if(selectedSprite != NULL)
          {
              char* temp = (char)(selectedSprite-&gt;Frame() + 97); //error here
              pointer = strcat(pointer, temp);
          }
          else
          {
              pointer = strcat(pointer, "test");
          }
      }
      return pointer;
  }
  </code></pre>