Thread: How do I print my output?

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

    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.


  2. #2
    Registered User
    Join Date
    Nov 2006
    Coimbra, Portugal
    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, 02:18 AM
  3. Personal Program that is making me go wtf?
    By Submeg in forum C Programming
    Replies: 20
    Last Post: 06-27-2006, 12: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, 04:09 PM