Thread: Harmful To Disk??

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    13

    Harmful To Disk??

    Hi...Ive finished writing a program to help with studying. I plan on distributing it aswell. I would like to know, before i give it to people if the program could be bad for the hard drive.(Just in case)

    The user can enter 100 questions and answers into 4 different areas. It is stored on a 4 dimensional array and every time the user enters a new question, the whole array is stored to disk. The size of the output file is 500kb. I would like to know if writing this much to disk too often will harm it. It will not be used too much, probably about 30 questions for 1 or 2 subjects. (So about 60 writes per half-year) maybe more. So would writing this much be harmful??

    PS. i didnt want to make it so that the array is saved before the program closes in case the program crashes, or in case they exit illegally, because they would lose their work. Thanks.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    If your hard drive can't handle a 500K file, then you should buy a new hard drive.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User OnionKnight's Avatar
    Join Date
    Jan 2005
    Posts
    555
    Intense reading and writing won't harm your disks but will affect speed and since you said your program will only be used 60 times per half-year it doesn't make speed an important issue.

  4. #4
    Registered User
    Join Date
    Nov 2005
    Posts
    13
    Thanks Guys

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Disk failure in 3 disk RAID0 & 5?
    By cpjust in forum Tech Board
    Replies: 12
    Last Post: 12-22-2008, 10:09 AM
  2. lost disk
    By Benzakhar in forum Linux Programming
    Replies: 7
    Last Post: 01-11-2004, 06:18 PM
  3. Formatting Output
    By Aakash Datt in forum C++ Programming
    Replies: 2
    Last Post: 05-16-2003, 08:20 PM
  4. Towers of Hanoi, special output.
    By spoon_ in forum C Programming
    Replies: 3
    Last Post: 03-15-2003, 06:08 PM
  5. File Size and File Size on Disk
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 12-15-2001, 08:03 PM