I/O Question

This is a discussion on I/O Question within the C++ Programming forums, part of the General Programming Boards category; is it possible to read and display a file in a console and then edit it and then send it ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    72

    I/O Question

    is it possible to read and display a file in a console and then edit it and then send it back to the file? I need some tutorials, code and samples, i already looked over this sites I.O tutorials, not too helpful.


    Thanks to anyone that has the time to help.

  2. #2
    Rebooted Inquirer's Avatar
    Join Date
    Apr 2002
    Posts
    281
    Do yo want the user to be editing it?

    If you do, then it will be more coml=plicated because you will have to deal with huge loads of keyboard events, and possib;y mouse events, and modifier keys. Unless there is a way to do it that i am not aware of. Butmm if all you want to do is display it on the screen, edit in some constant way, then write it back to the file, the tutorials on this site should do. However, there is another one that is relatively good on http://www.cpp-home.com/FileIO_tutorial.php
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple question about file I/O.
    By The7thCrest in forum C++ Programming
    Replies: 2
    Last Post: 02-04-2009, 05:15 PM
  2. Question about file I/O from a newbie
    By henrik in forum C Programming
    Replies: 4
    Last Post: 11-13-2007, 12:48 AM
  3. Question regarding File I/O
    By mhenderson in forum C Programming
    Replies: 4
    Last Post: 08-03-2006, 01:46 PM
  4. File I/O Question
    By 182 in forum C++ Programming
    Replies: 1
    Last Post: 12-13-2005, 03:03 PM
  5. Overlapped I/O and Completion Port :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 10-30-2002, 05:14 PM

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