example0.png
example1.png
example2.png
The code for the for loop is as follows:
for (int i = 0; i < number; i++)
{
Array = OnLoad((file) + i + ".png") ;
}
OnLoad is a function I have for loading files which works independently of this. My question is when I pass the parameters "example" and "3" to the function and thus this for loop how do I have the above translate it into "example0.png" and so on.