Here is the sample code:
struct stat FileStat;
if( stat( "MyFile", &FileStat ) == 0 ) { cout << FileStat.st_size << endl; }
I am writing this blog because I'm feeling bore. I make this blog as my personal development journal tracking my fault and mistake.
struct stat FileStat;
if( stat( "MyFile", &FileStat ) == 0 ) { cout << FileStat.st_size << endl; }
No comments:
Post a Comment