how do you access a floppy drive using c?..urgent please

This is a discussion on how do you access a floppy drive using c?..urgent please within the C Programming forums, part of the General Programming Boards category; how do you access a floppy drive using c? that is find it's properties, copy to it..? which header file ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    1

    Red face how do you access a floppy drive using c?..urgent please

    how do you access a floppy drive using c?
    that is find it's properties, copy to it..?
    which header file to be included ?

  2. #2
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    > how do you access a floppy drive using c?
    system("a:");
    WOOHOO!
    The world is waiting. I must leave you now.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231

    Re: how do you access a floppy drive using c?..urgent please

    Originally posted by lijostin
    how do you access a floppy drive using c?
    that is find it's properties, copy to it..?
    which header file to be included ?
    Just the same as any other drive, I believe.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Well there are a couple of ways. These are not in any particular order.

    • Use the BIOS functions via interrupt.
    • Use the biosdisk function which calls the BIOS for low level reads/writes.
    • Use the huge I/O library that comes with C.
    • Have DOS read from the disk via int 21h functions - and there are a a bunch of them.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Floppy Drive
    By cyreon in forum Windows Programming
    Replies: 7
    Last Post: 03-25-2005, 03:03 PM
  2. Low Level Drive Access?
    By coldfusion244 in forum C++ Programming
    Replies: 1
    Last Post: 03-09-2005, 08:19 AM
  3. Sounds and Audio Decoding/ Drive Access
    By coldfusion244 in forum Windows Programming
    Replies: 4
    Last Post: 03-03-2005, 02:50 PM
  4. Frequent hard drive access question
    By Xzyx987X in forum Windows Programming
    Replies: 2
    Last Post: 04-27-2004, 11:47 PM
  5. Boot issue; no floppy drive
    By CodeMonkey in forum Tech Board
    Replies: 6
    Last Post: 11-19-2002, 05:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21