Topic: Newbie Character Display Question


Author: badger@infinet.com (Steven Savage)
Date: 1998/10/15
Raw View
Though I'm coming to C++ through a Windows95-colored background, I am
interested in character-line/console programming.  I wondered - are there
standard libraries for doing the colored character displays so well known
in console apps and games (Rogue)?  Are there Windows-95 versions?

Thanks.


--
BADGER
"Any sufficiently advanced technology IS Magic"
------------------------------------------------------------------
Badger's Gate: http://www.infinet.com/~badger
Boldly stating a working knowledge of HTML since 1995

MANAGER OF:
The TECHKNOW technical discussion listserv.

MEMBER OF:
Association of Internet Professionals: http://www.association.org/
------------------------------------------------------------------


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]






Author: stephen.clamage@sun.com (Steve Clamage)
Date: 1998/10/16
Raw View
badger@infinet.com (Steven Savage) writes:

>Though I'm coming to C++ through a Windows95-colored background, I am
>interested in character-line/console programming.  I wondered - are there
>standard libraries for doing the colored character displays so well known
>in console apps and games (Rogue)?  Are there Windows-95 versions?

The C++ standard library contains nothing to support displays.
It allows writing characters to a "stream". If the stream is
connected to a display, the characters should appear on the display,
assuming the stream is configured to support the display. There
are no facilities for doing anything beyond that, and nothing
in the standard library addresses color.

There are quite a number of third-party libraries for managing
window displays using C++. That's not a topic for this newsgroup,
of course. You could ask that question elsewhere.

--
Steve Clamage, stephen.clamage@sun.com


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]