The following function will read any valid file name one byte at a time. int read_file(char* filename) { FILE* input=fopen( filename,"rb" ); if( !input ) { std::cerr<<"File access error: "<<filename<<std::endl; return( -1 ); } char ch; while( fread( &ch, 1, 1, input )==1 ) { // process the byte... } fclose( input ); return( 0 ); }
There are 8 characters which filename can obtain
What is in it.
$ cat filename | head
To delete a file, type: rm filename To delete a file, but prompt for confirmation first use: rm -i filename In both cases, replace filename with the name of the file you're wanting to remove.
you can use: include($filename); // will give a warning if the file is not found include_once($filename); // same, but only includes if the file isn't already included require($filename); // will stop the script if the file is not found require_once($filename); // same, but only includes if the file isn't already included
Del is used to delete a file in command prompt.
A filename.
filename
you can put it to the end of the filename: somesource.c
Sfc.exe
gzip filename ...