Data type for holding different values C++
<p>I'm wondering how to load a number of images in a function and assign it to one variable so i can call on them and also hold information for those images.</p>

<p>For example :</p>

<pre><code>src = tile1.png
x = 10
y = 11
</code></pre>

<p>What kind of data type would i need ?</p>

<p>My goal is to loop through lines in a text file, load each image with its relevant information so the images are pre-loaded and ready to be displayed on the screen. I just a little stuck on how it would be done.</p>
