pi********@gmail.com said:
hi guys, got anything on this issue?
(The issue in question is that of displaying 24 bit colours using C.)
The C language is so popular at least in part because it is widely
available, on a huge range of platforms, by no means all of which are
capable of displaying any colours at all, let alone 24-bit colour.
Personally, I think it would be a good thing for C to specify a basic set of
graphics primitives (including a function to enquire just what, if any,
graphics hardware is available on the system in question) - but it doesn't.
The language instead leaves the entire issue in the hands of third-party
library developers.
The kind of library you'll need to use for displaying colour depends largely
on your platform. For discussing platform-specific issues such as this, you
will find it more profitable to enquire on a newsgroup devoted to the
platform you are targetting.
Possibilities include news:comp.os.ms-windows.programmer.win32 and
comp.unix.programmer (among others).
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)