Thread: testing on writing to floppy

  1. #1
    Mulah
    Guest

    Question testing on writing to floppy

    I wanna test if writing to floppy was succesful. If not, display a message, otherwise write the stuff. I'm thinking to puts(stuff). If it returns EOF, display the message otherwise do the job, but it's not working.

  2. #2
    Registered User datainjector's Avatar
    Join Date
    Mar 2002
    Posts
    356
    not sure but might be this can help



    Make a FILE pointer

    user fopen()

    if returns null then no floppy or its damaged
    ???
    "I wish i could wish my wishs away"

    "By indirections find directions out" -- William Shakespears

    "Do what thou wilt shall be the whole of the law" -- Crowley "THE BEAST 666"

    Mizra -> love = Death...
    RDB(Rocks yooo)..

    http://www.cbeginnersunited.com

    Are you ready for the Trix ???

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  2. help! fifo read problem
    By judoman in forum C Programming
    Replies: 1
    Last Post: 08-16-2004, 09:19 AM
  3. testing on writing to floppy
    By Mullah in forum Windows Programming
    Replies: 5
    Last Post: 07-08-2003, 07:27 AM
  4. Writing directly to floppy.
    By someonenearHim in forum C Programming
    Replies: 2
    Last Post: 12-12-2001, 07:51 PM
  5. Writing directly to sectors on a floppy.
    By someonenearHim in forum C Programming
    Replies: 0
    Last Post: 12-12-2001, 02:44 AM