concatenate two integer values into a char array
<p>Im trying to extract two (int32_t) values, and place them within a char array.</p>

<pre><code>int32_t version = getVersion();

if (version &lt; 0)
{
    return;
}
else
{
    //first part of number needs to be shifted right
    int32_t major = (((version) &gt;&gt;16) &amp; 0xFFFF);
    int32_t minor = ((version) &amp; 0xFFFF);

    // need to concatenate these two values, and place a "." between them

    setVersion(...);//requires a char array, should for example be "1.1"
}
</code></pre>

<p>can anyone give me any advice on the best way to do this? without the use of std::strings please.
I would prefer a char array.</p>

<p>Thanks in advance</p>
