That depends on the type of file and what you mean by "empty". Generally, fopen() called on an existing file, with the "w" option instead of the "a" option will truncate the file to zero length. To delete a file completely is a different process. Function truncate is your friend.
Declaration of file pointer opening of file in desired mode. performing the desired operation. closing the file
Ctrl+Z mean EOF in WinDos, no matter what programming language you are using.
Seek to the end of the file (fseek) and check how many bytes are in the file If the byte count is zero the file is empty.
Nothing, but as a file-extension it means backup.
helps you to organise the memory as you want
Declaration of file pointer opening of file in desired mode. performing the desired operation. closing the file
Ctrl+Z mean EOF in WinDos, no matter what programming language you are using.
Seek to the end of the file (fseek) and check how many bytes are in the file If the byte count is zero the file is empty.
MySQL was written and developed using the C and C++ programming languages.
C programming can be started on Windows by using a suitable IDE (these include compilers) such as Dev-C++
Nothing, but as a file-extension it means backup.
helps you to organise the memory as you want
One application that uses c programming is Microsoft Visual Studio 2008.
'struct tm' (time.h) and 'FILE' (stdio.h)
#include<stdio>
Scatter File is a linker script file used by RVCT/Keil for ARM processors. It is used by arm linker.
fopen, fread, fwrite, fclose