I want to store paths of all images in a database to a text file (lets say "images.txt"). I can then use this text file in c++ to extract images one by one by using getline() in a loop.
I don't know how to store image paths to a text file. Also, how to loop over all the images in the folder? Please suggest a way...
Thanks in advance :)
If you're using windows, you can search for some Win32API function that reads files in a directory, then check if it ends with .jpg .png .bmp etc