0
How to convert a txt file to dat
How to convert a c++ text file to binary( dat) file
3 ответов
+ 5
The dat file extension is about the least specific extension possible. Many programs format files with the .dat extension differently. It is often for files with a format only known by the program that wrote them.
You could just rename the file extension from .txt to .dat. I wouldn't invest the effort to change the format of its data unless a more specific requirement was made to match something else. A text file is quite simple to read and write. If the information you current store is a bunch of text with no text formatting or validation rules, just keep using a plain text format.
0
Great input
Thanks