. , , , .. , : 1); 2); 3) ; 4).
. , . . .
. .
. . .
, , . . .
, .
0 , , , . S 4 . .
, , . , . , , , , , .. .
. , , . , , . , . . , . , . . , , , . , , .
, . : .
|
|
, . , . . , , .
, .
, . ifstream , ifstream . , , ifstream.
C++ ifstream iostream.
, : 1) ofstream; 2) open; 3) ; 4) .
, :
1) ifstream; 2) open; 3) , , ; 4) .
, fopen() r w . , , \r , , . . , , . . fopen() rb wb .
: FILE fopen (cha r * filename, char * mode) - .
filename - .
mode , .
(file pointer) , , ,
FILE, stdio.h
:
1) (text)- , : ;
2) (binary)- .