How add variables to string for TTF_RenderText_Solid
<p>I'm currently learning to do output with TTF files and was wondering how i can output the font using variables with strings?</p>

<p>For example, i have the position of the <code>mouseX</code> and <code>mouseY</code> defined as <code>Int</code>.</p>

<p>I want to output a string like:</p>

<p>Mouse X: <code>mouseX</code>, Mouse Y: <code>mouseY</code></p>

<p>This is where I output the text:</p>

<pre><code> font_surface = TTF_RenderText_Solid(font_file,"MouseX: //need to add variable MouseY: //here too",font_color); 
</code></pre>

<p>Does any one know the syntax to incorporate the variables to this function with the string ?</p>
