Reading a disc drive (C++)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aviraldg
    New Member
    • Sep 2007
    • 21

    Reading a disc drive (C++)

    Well , could someone tell me how to read/write to a disc drive ? And by disc drive , I mean *disc*drive* , not the files on it. I'm using VC++ 6 , and would prefer the easiest method , even if it 'doesn't comply with the standards' (I remember an implementation based on 'open' which treated the drive as a file... but if someone knows about it could he/she explain it to me?)
  • oler1s
    Recognized Expert Contributor
    • Aug 2007
    • 671

    #2
    I/O directly to the drive is OS and platform specific. For you, that would be the Windows API. So I would Google and search MSDN for the relevant sections on disk management and I/O. It’s all nonstandard code, so forget about trying to get a standard and portable API here.

    I'm using VC++ 6
    You sure you don’t want to upgrade to something from this decade?

    Comment

    • aviraldg
      New Member
      • Sep 2007
      • 21

      #3
      Please , I remember some C code using open to achieve this. Ok , if not this , could someone explain 'open' - just open and the functions related to it ?

      Comment

      Working...