Saving and retrieving output screen

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DiffThinkr
    New Member
    • Dec 2009
    • 2

    Saving and retrieving output screen

    Hi,
    Is there anyway of saving and retrieving the output screen.
    I don't want to use the saved file outside the program but I need to be able to put the output that I saved back into output as it is. This is for a graphics application, by the way. I'm using Turbo c++.
  • whodgson
    Contributor
    • Jan 2007
    • 542

    #2
    yes.......press Prt Scrn then enter to return to your IDE.
    Select Ctrl+v to save to some suitable location in your cpp file. I presume it works with graphics as well as text.

    Comment

    • DiffThinkr
      New Member
      • Dec 2009
      • 2

      #3
      Ya, I know that one but I need to do it from the program. I need to print on screen, save tat output, put the output back on and print some more on top of it and so on.

      So I need to find a command sequence to store the output to a file in ANY format.

      Comment

      • newb16
        Contributor
        • Jul 2008
        • 687

        #4
        I assume that you write some text to the screen in dos box in text mode. Then just read the text screen buffer and write it back when needed. Google for 0xb800.

        Comment

        • alexis4
          New Member
          • Dec 2009
          • 113

          #5
          You print on screen something that passes from your program first, so what is the problem on retrieving it?

          Comment

          Working...