Aside from many projects I'm working on to learn more about general programming and this language it self. I was wondering how do programmers create "program specific files".
Microsoft Word has .doc type files.
Adobe Acrobat Reader has .pdf files.
Photoshop has .psd files.
On a current project I'm working on I have data that gets saved to a file called .nex reason for that specific extension is because that is the name of the Project that file is used. Anyways the way I am currently doing this is encrypting the data using an RC4 Stream Cipher then putting that data into a stream writer and saving it to a file. I was wondering is this sufficient? Is it the way to do things and if so how would I go about creating a program specific file system for my project. The data that is stored within these files is nothing of great importance to any user but if they were to alter the data it will most defiantly have a drastic effect on the program its self.
Anyways all help is greatly appreciated for those that think I'm double posting. I just had to get these thoughts out of my head all at once to avoid losing them as I tend to forget things as my life is quite busy...