D.5. ____________________________________________413

istream& ignore(int n=l, int delimiter=EOF);

//  
int peek();               //  

//    
istream& putback(char ); //    

          
  :

istream& operator(istream& , _& )

       ,    
  .       
,      .

D.5. 

   stdin, stdout  stderr    .
 ,      ,  
stdprn  stdaux.       , -
 .

 

	C++		  
stdin	cin	  	
stdout	cout	  	
stderr	cerr	  	
stdprn	cprn	  	
stdaux	caux	 	
		 	

 - C++        
cin, cout  cerr .  C++  cprn  caux  -
   stdprn  stdaux.   clog, -
    cerr.    
  . ,       -
,   .       
   argv.

 -    fstream.h.   
 if stream  of stream       
 .       ofstream 
if stream      ,      -
 .

if stream() ;

if stream(const char*, int = ios::in,
int prot = filebuf::openprot);

ofstream();