how do u create ur own file format like .vef or just some other format
how do u create ur own file format like .vef or just some other format
I don't think that a file extension really does anything to the file. It just tells the user what app to run them with and the operating system/apps might have some preset. For example, if you have Word, when you open a .doc file, it automatically opens it in word.
Yeah, it wont do much to the actual format of the file, but when you create the file to write to it, just have it create the file as myfile.vef or whatever.. You could integrate some encryption program so your program will be the only one that will be able to open and write to the file... if the information was that important
>> how do u create ur own file format like .vef or just some other format <<
ofstream fout;
fout.open("MYFILE.VEF");
// do your stuff
>>>You could integrate some encryption program so your program will be the only one that will be able to open and write to the file... if the information was that important <<
you can open all files any extension in wordpad or some text editor. so if your file contains simple english/readable text then it can be read unless you write or use a crypto program.
hope this is what you were asking for.
-