printing the output its urgent

This is a discussion on printing the output its urgent within the C Programming forums, part of the General Programming Boards category; the exat problem is like this i wrote a program the output gives some numbers which are to be noted ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    2

    Question printing the output its urgent

    the exat problem is like this
    i wrote a program
    the output gives some numbers which are to be noted
    now what i would like to do is
    allow the person who uses this program to take a printout
    of the output
    at the click of a button in the output screen itself

    for doing this
    i need the c code to be written in the program
    i could find it in help menu

    please kindly help me
    as this is a top most urgent work to be completed

  2. #2
    Registered User Azuth's Avatar
    Join Date
    Feb 2002
    Posts
    236
    Go read the FAQ. Nobody will do your work for you. You haven't told us what OS, or posted any code. Nobody could help you unless you put some more thought into your question.
    Demonographic rhinology is not the only possible outcome, but why take the chance

  3. #3
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    :cough: homework :cough;

    dont be so damn lazy.

  4. #4
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    What makes you think that a second thread with the same question will fare any better than the first? Ask a good question and you'll get a good answer.
    My best code is written with the delete key.

  5. #5
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    "Don't flag your question as "Urgent", even if it is for you. Claiming urgency is very likely to be counter-productive."- Stack overflow

    "How is this urgent? I don't feel a sense of panic, so urgent really isn't the right word for your question." -Prelude

    "Please don't say 'urgent'. While your problem may be urgent to you, it's not to us." - moi
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,452
    > at the click of a button in the output screen itself
    Can we assume that this is a win32 GUI program (which should have been placed on the windows board), and that you already know how to draw a button on screen with the word "Print..." in it?

    It's not like a search of the board for "print" comes up with 0 results or anything.

    As Azuth says, we need your OS/Compiler/Some example of how this will fit together in order to have any meaningful attempt at replying.

  7. #7
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Here's a novel idea: Every time you display any output, write it to a temporary file at the same time. If they decide they want a "print out", rename the temporary file to something they pick. If they don't, delete the temporary file.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# Printing Problem
    By silverlight001 in forum C# Programming
    Replies: 0
    Last Post: 03-23-2009, 01:13 AM
  2. Opening a file and then printing the output?
    By Sholcomb1 in forum C Programming
    Replies: 5
    Last Post: 11-02-2006, 08:44 AM
  3. Printer output mirrored!
    By Bajanine in forum Windows Programming
    Replies: 1
    Last Post: 11-27-2004, 04:48 PM
  4. Urgent: output editable text to dos
    By samohx in forum C Programming
    Replies: 4
    Last Post: 09-27-2002, 12:25 PM
  5. printing output from prog
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 08:50 PM

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