read sectors using absread

This is a discussion on read sectors using absread within the C++ Programming forums, part of the General Programming Boards category; hi i tried to access the data of the sector using absread for floppy disks but the data it reads ...

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    2

    read sectors using absread

    hi

    i tried to access the data of the sector using absread for floppy disks but the data it reads is some garbage value........

    can anybody tell me that the argument logical sector no in absread is the same that we have in the directory structure for each file i.e. starting cluster number...........

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,505
    How about showing some code?

    Or mentioning which OS / Compiler you're using, though I'm guessing it's something really old (like turbo c) on something really new (like XP).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Assembly Tutorials
    By JoshR in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 06-11-2005, 09:56 AM
  2. What Would You Use To Read User Input?
    By djwicks in forum C Programming
    Replies: 11
    Last Post: 04-05-2005, 03:32 PM
  3. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  4. Read Array pro!!Plz help!!
    By Supra in forum C Programming
    Replies: 2
    Last Post: 03-04-2002, 02:49 PM
  5. Help! Can't read decimal number
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 09-07-2001, 02:09 AM

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