How to combine ASCII text files, then encrypt, then decrypt, and put into a 'File' Class? C++
- by Joel
For example, if I have three ASCII files:
file1.txt
file2.txt
file3.txt
...and I wanted to combine them into one encrypted file:
database.txt 
Then in the application I would decrypt the database.txt and put each of the original files into a 'File' class on the heap:
class File{
public:
    string getContents();
    void setContents(string data);
private:
    string m_data;
};
Is there some way to do this?
Thanks