I'm writing a DLL in VC++ and I need to use external text file. I have something like this right now:

 ifstream file;
 string line;

 file.open("C:\\Users\\Me\\Desktop\\textfile.txt");
 getline(file,line);
 file.close();

I understand that I can have this file in Resources right?

I added my text file by going to "ResourceView" -> "Add Resource" -> "Import". I chose my text file and created custom resource type.

How can I access to this file to use similarly to the code above ? I have Resource.h but what should I do with it? Can I edit my resource text file too?

Edit
Report