How to include files in the program
I am currently making an agypeya which is like a prayer book for Coptic Christians (Egyptian Christians, Coptic Orthodox Church). It is a win32 app and i have created a gui and everything, the only problem is that the program needs to read from .txt files and they might not be in the right directory if i share it with people so my question is, Is there a way i can store the .txt files in my program and read from them?
Embed them in the .rc file? Pretty sure that should do the trick =3
Yup Look up resource files and adding accessing txt resource files. Depending on your version of VS you might need a Resource Editor too.