I basically need to write a program that will display all images in a directory, sequentially, and either create or open an existing corresponding text file, and allow a user to write/dictate into it.
(e.g. So working in a directory containing one.tif, two.tif and three.tif, the program will open/create one.txt, two.txt and three.txt and allow the user to append data at each iteration.)
I've already got a bash script that creates the .txt files but it's not much use, because there's so many images that it looks like the whole process will have to be automated.
My main problems are:
1) How do I open up each image file, sequentially, without knowing the name of the image file beforehand, and without knowing the amount of images in the directory?
2) How do I store the extensionless name of the file as a string within the program? (It's possible in shell scripting, but I can't find any C++ info)
I was looking at the boost.org libraries, but they look so difficult and I've got very little experience with OOP.. :(
For the image part, I found a nice library, CImg, with which it's pretty easy to display images in a window..
Should I just try to get to grips with the above two libraries? Or should I figure out how to use Visual Studio to do it?
I'm really lost, and I only have like a week to do this.. thanks for any suggestions..