Create files in c code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cpe90
    New Member
    • Mar 2013
    • 1

    Create files in c code

    How could I write a program that measures the time required to create and then remove(delete) a large number of 1-byte files from a single directory???
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Maybe you could read the system clock when you start and again when you finish.

    Comment

    • markcoker
      New Member
      • Apr 2013
      • 3

      #3
      look into #include <ctime>

      Comment

      Working...