How to open a new console and write something out write printf()

Discussion in 'C Programming' started by Peter Hansen, Aug 24, 2003.

  1. Peter Hansen

    Peter Hansen Guest

    Assume there is a given Non-Gui (console is the only interface) library (DLL under Win2000).
    Now I want to open a second (!) console out of this library/DLL and write something on
    it with printf().
    How do I do that ?

    Thx
    Peter
     
    Peter Hansen, Aug 24, 2003
    #1
    1. Advertising

  2. Peter Hansen <> scribbled the following
    on comp.lang.c:
    > Assume there is a given Non-Gui (console is the only interface) library (DLL under Win2000).
    > Now I want to open a second (!) console out of this library/DLL and write something on
    > it with printf().
    > How do I do that ?


    You can't, not in ISO standard C. You'll have to use Windows-specific
    code, which will be off-topic on comp.lang.c.

    --
    /-- Joona Palaste () ---------------------------\
    | Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
    | http://www.helsinki.fi/~palaste W++ B OP+ |
    \----------------------------------------- Finland rules! ------------/
    "Make money fast! Don't feed it!"
    - Anon
     
    Joona I Palaste, Aug 24, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stephen Neal
    Replies:
    0
    Views:
    386
    Stephen Neal
    Aug 17, 2003
  2. Peter Hansen
    Replies:
    1
    Views:
    393
    Joona I Palaste
    Aug 24, 2003
  3. Dawn Minnis
    Replies:
    6
    Views:
    490
    Lawrence Kirby
    Feb 8, 2005
  4. Tony Johansson
    Replies:
    2
    Views:
    737
    Patrice
    Jan 9, 2010
  5. Replies:
    9
    Views:
    164
Loading...

Share This Page