+ 1

How a file can know what type of data save?

And how can I do that? Can I from a database?

28th Feb 2018, 11:27 PM
SebGM2018
SebGM2018 - avatar
2 ответов
+ 2
I assume you want to figure out what is stored in a random file. The ending can give you hints, you can do other types of analysis, but you can't know surely. You can imagine a file as a vector<char> on your hard drive.
1st Mar 2018, 8:01 AM
Timon Paßlick
+ 1
I am in dark room, I can't see anything
1st Mar 2018, 12:22 AM
Nura Programmer
Nura Programmer - avatar