Convert integer to formatted LPCWSTR. C++
<p>I have a direct3d project that uses D3DXCreateTextureFromFile() to load some images.  This function takes a LPCWSTR for the path to file.  I want to load a series of textures that are numbered consecutively (ie. MyImage0001.jpg, MyImage0002.jpg, etc)  But c++'s crazy strings confuse me.</p>

<p>How do i:</p>

<pre><code>for(int i=0; i &lt; 3;i++)
{
//How do I convert i into a string path i can use with D3DXCreateTextureFromFile?
}
</code></pre>

<p>Edit:</p>

<p>I should mention I am using Visual Studio 2008's compiler</p>
