0

Lets say i have folder with images and I want to import all of those images with IMG_Load or SDL_LoadBMP no matter what the names of those images are and no matter how many of those images are in that folder. For instance, if I have 10 images in folder "Images" I need to use IMG_Load 10 times, and every time to write name of every single image in IMG_Load function. So if I add another 10 pictures with different names this obviously wont work. So my question is how can I import images from folder with arbitrary amount of those images in it using SDL? So to be precise, is there a way to import those images with integers or array? I mean to sort names of those images ascending and call them by numbers. IMG_Load(1), IMG_Load(2), ...

Sudden
  • 1
  • 1

0 Answers0