By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,847 Members | 2,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,847 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Peter Hansen <pe*****@hotmail.com> 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 (pa*****@cc.helsinki.fi) ---------------------------\
| 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
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.