Original Post
Hi, i need to load about 200 files as follows LoadTGA(&explosion[0], "textures/000.tga"); LoadTGA(&explosion[1], "textures/001.tga"); .................................. LoadTGA(&explosion[199], "199.tga"); Instead of writing 200 lines, i'd like to build a simple loop, but i can't figure out how to "feed" the name file to the instruction. I need something as: for (int i=0; i<200; i++) { LoadTGA(&explosion, filename); } how can i define the filename ?