title: Creating a partial file name with a variable in C++
body: <p>I'm making a C++ program/game that uses the "graphics.h" header and I'm trying to create a map with tiles. There are 66 tiles and each file name is different. I want to display them all without having to write nearly identical lines over and over.</p>
  
  <p>This is what I have so far (pseudocode):</p>
  
  <pre><code>filename = a + number + b;
  readimagefile (filename, left, top, right, bottom);
  </code></pre>
  
  <p>Where a is "bg(", followed by a number from 1 to 66, and then b, which is ").bmp". I want the filename to be like this: "bg(number).bmp". However, what I have above is clearly the incorrect syntax.</p>
  
  <p>How would I go about doing this? Thanks in advance for any answers.</p>