Reuses stream to either open the file specified by filename or to change its access mode.
Syntax:FILE * freopen ( const char * filename, const char * mode, FILE * stream );
Example:#include
int main ()
{
freopen ("myfile.txt","w",stdout);
printf ("This sentence is redirected to a file.");
fclose (stdout);
return 0;
}
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 138 / 159131986. Delta: 0.03605 с