July 2nd, 2013, 07:16 PM
For the file size, investigate stat, fstat, lstat functions
Your main function must return an integer to the operating system.
And you should verify that some command line arguments were supplied.
NULL != argv
or, more commonly,
1 < argc
[/code] are essential for python code!