How do I print my output?

This is a discussion on How do I print my output? within the C++ Programming forums, part of the General Programming Boards category; ...aside from using something like print screen? I have this nice neat, simple program and I have a correct output, ...

  1. #1
    Registered User Hexadakota's Avatar
    Join Date
    Jan 2008
    Posts
    21

    How do I print my output?

    ...aside from using something like print screen?

    I have this nice neat, simple program and I have a correct output, but I don't know how to print the text that comes up in the little black window from an output, let alone several outputs.

    Help?

  2. #2
    Registered User
    Join Date
    Nov 2006
    Location
    Coimbra, Portugal
    Posts
    64
    Do this on a command prompt:

    your_program > output.txt
    Name: Miguel Martins
    Date of birth: 14th August 1987

    "He who hesitates is lost."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Retail Outlet Managment System - the 4th
    By Presidentofusa in forum C Programming
    Replies: 3
    Last Post: 11-10-2007, 10:44 PM
  2. Connecting input iterator to output iterator
    By QuestionC in forum C++ Programming
    Replies: 2
    Last Post: 04-10-2007, 03:18 AM
  3. Personal Program that is making me go wtf?
    By Submeg in forum C Programming
    Replies: 20
    Last Post: 06-27-2006, 01:13 AM
  4. Scope And Parameter Passing
    By djwicks in forum C Programming
    Replies: 6
    Last Post: 03-28-2005, 08:26 PM
  5. why this output?
    By dredre in forum C Programming
    Replies: 4
    Last Post: 05-08-2004, 05:09 PM

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