Results 1 to 4 of 4

Thread: Dev C++ Console - Printing?[resolved]

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Where you live
    Posts
    104

    Dev C++ Console - Printing?[resolved]

    Hi,

    Ive searched the forum for PRINT, but the results I looked in have to do with print as in display

    So, In my Console App, I need to print the Dos screen that is running. Any help? Im quite new to C++
    Last edited by Inno; Jan 11th, 2003 at 01:13 PM.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Look at cout. It's what you want.

    PRINT - is that QBasic?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Where you live
    Posts
    104
    No, you must have misunderstood me. Print as in using the printer!

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Ah.

    Hmmm...

    I think you can open the virtual file called "prn:" and write to that, windows should send it to the default printer.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width