Help on reading a disk from my program

This is a discussion on Help on reading a disk from my program within the C++ Programming forums, part of the General Programming Boards category; I need to read a disk from Drive A...can someone post the code here so I can look at it? ...

  1. #1
    Seven years? civix's Avatar
    Join Date
    Jul 2002
    Posts
    605

    Help on reading a disk from my program

    I need to read a disk from Drive A...can someone post the code here so I can look at it? Thanks in advance for any help!!!

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Just open the file in the normal manner, but fully qualify the name:
    >f.open("a:\myfile.txt", .......
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Seven years? civix's Avatar
    Join Date
    Jul 2002
    Posts
    605
    i mean read the full disk and list the contents

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. reading data format into program
    By lambs4 in forum C Programming
    Replies: 1
    Last Post: 10-23-2003, 03:27 PM
  2. reading text from a file into your program
    By deltabird in forum C++ Programming
    Replies: 1
    Last Post: 06-26-2003, 11:34 AM
  3. program to check hard disk transfer rate
    By shadow99er in forum C Programming
    Replies: 3
    Last Post: 03-01-2002, 05:04 PM

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