Files don't have a data type. Functions, classes, enumerations and variables are all examples of data types. We may use a stream to represent a file, but a stream is no more a file than a file is a stream. A stream is merely an abstraction that can be used to represent any device that requires buffered input and/or output of character sequences.
Direct access. AS
caca
char
The file is store the data as document type, we don't have give particular data-type of data which will be store in it. But in database system there are specified structure (like in table format) of data store. First we have to make format with particulate data-type for the data, which will store in it. other The file has no record system, while database system store data with record in row, it is easy to maintain.
FILE, struct stat and struct tm are some examples.
Madara ===========> char : id: 0 type: 0 file: data\madara.dat skill : id: 232 type: 3 file: data\madaraground.dat id: 234 type: 3 file: data\amaterasu.dat id: 333 type: 3 file: data\amaterasudefend.dat id: 237 type: 3 file: data\mangekouitachi.dat id: 239 type: 3 file: data\firedragon.dat id: 235 type: 3 file: data\kuubipunch.dat id: 236 type: 3 file: data\kuubi.dat id: 245 type: 3 file: data\Goukakyuu.dat
Madara ===========> char : id: 0 type: 0 file: data\madara.dat skill : id: 232 type: 3 file: data\madaraground.dat id: 234 type: 3 file: data\amaterasu.dat id: 333 type: 3 file: data\amaterasudefend.dat id: 237 type: 3 file: data\mangekouitachi.dat id: 239 type: 3 file: data\firedragon.dat id: 235 type: 3 file: data\kuubipunch.dat id: 236 type: 3 file: data\kuubi.dat id: 245 type: 3 file: data\Goukakyuu.dat
Logical file is a type of file that provides a view of the data stored into the Physical file. It does not contain data. A logical file contains only an index to the data stored into the physical file.
FILE is a data-type (a struct, to be precise).
Hokage 3 ===========> char : id: 0 type: 0 file: data\3rd_Hokage.dat skill : id: 232 type: 3 file: data\Earth_dragon.dat id: 234 type: 3 file: data\fire_ball.dat
A tiff file contains image data.
Direct access. AS
Some programs can only use certain file types. Data translation changes the file type to a type that is usable by the program.
caca
char
A Conversion Program ?
stdbool header file use for a new data type that is boolean value