Making .exe that uses txt file

Hi, I want to make exe file of my project that also uses txt file. Im using openFrameworks on Visual Studio. I’ve never created .exe of any projects so I have no idea how to start. Im using txt file in data folder to draw graphs based on it. I want to know how to create .exe that also can use txt file the same way. Any suggestions?

Hi, each time you run you openFrameworks project and exe file is created in the bin folder of your project. From your app you can access any file on the file system, thus a txt file would be no problem.
You can use

auto dialogResult = ofSystemLoadDialog("select txt file");
// the following function return the file path to the file selected in the load dialog
// Use it to open the txt file just as you would if it was in the data folder

Thanks, gonna test it.