Thread: Any good example?

  1. #1
    Registered User
    Join Date
    Jun 2009
    Location
    Bangalore,India
    Posts
    29

    Any good example?

    Hhiii


    I wanna to read and write data at same time.....


    Currently I do one at a time ,so one is idle while another one perform operation.

    So I use readfile() and writefile() windows functions.......

    Any good example available that use the above functions.... to read and write same time....




    -------------
    thank u
    ------------

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    From the same file? Because that doesn't make sense.

    Chances are you'll have a impossible if not extremely difficult task of getting them to run at the same time. Perhaps you're asking the wrong question?

  3. #3
    Registered User
    Join Date
    Jun 2009
    Location
    Bangalore,India
    Posts
    29
    I wanna read some data from one place to another place .....


    For example my source and destination are separate partitions .but bot are of same file systems(NTFS).



    ---------------------
    Thanking you
    ---------------------

  4. #4
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    You can't do anything at the same time with a single hard drive. You would need to be reading and writing to 2 separate hard drives, not partitions on the same drive.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. In a game Engine...
    By Shamino in forum Game Programming
    Replies: 28
    Last Post: 02-19-2006, 11:30 AM
  2. Good books for learning WIN32 API
    By Junior89 in forum Windows Programming
    Replies: 6
    Last Post: 01-05-2006, 05:38 PM
  3. Good resources for maths and electronics
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 12-22-2004, 04:23 PM
  4. what is good for gaphics in dos
    By datainjector in forum Game Programming
    Replies: 2
    Last Post: 07-15-2002, 03:48 PM
  5. i need links to good windows tuts...
    By Jackmar in forum Windows Programming
    Replies: 3
    Last Post: 05-18-2002, 11:16 PM