A command line utility to find total size of all files

Tutorials Shared by the Internet Community


  Top Tutorials     New Tutorials     Submit     Login     Register  

A command line utility to find total size of all files

Here fstream.h header file is included for File Handling functions.
  • Total Hits: 15089

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating


  • Total Votes: 149 votes

  • Category: C and C++/File Manipulation

  • Submitted on: 2008-04-16 01:52:24

  • Submitted By: Shekhar

  • Set as Favorite


In beginning of program main's argument 'argc' is checked to confirm that at shell at least one file name is provided to know the size of. It displays the correct syntax inside the condition where it reaches if wrong syntax is used & the exits the program.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 37.58%  56
 Two starsTwo star  Vote LeftVote MiddleVote Right 10.74%  16
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 12.08%  18
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 11.41%  17
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 28.19%  42

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.