decentswati
asked on
getting more than 16 colors
how can i get more then 16 colours through 'c'
ASKER
computer-pc
operating system-windows98
compiler-that is used with turboc2
operating system-windows98
compiler-that is used with turboc2
In text mode? I don't know of a way to have more than 16 colours AT ONE TIME, but you could always change the palette on VGA.
In graphics mode, use 320x240 256 colour mode, or use VESA BIOS Extensions for higher resolutions with more than 16 colours.
I'm assuming your compiler is a DOS compiler (Turbo C version 2?)
In graphics mode, use 320x240 256 colour mode, or use VESA BIOS Extensions for higher resolutions with more than 16 colours.
I'm assuming your compiler is a DOS compiler (Turbo C version 2?)
First specify the OS you are using, what i mean is this:
If it is dos you can have "any" 16 colors on screen at a time. If it is windows i think you can use more than 16 colors. If it is linux the graphics programming is totally different.
If it is dos you can have "any" 16 colors on screen at a time. If it is windows i think you can use more than 16 colors. If it is linux the graphics programming is totally different.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Nothing has happened on this question in more than 9 months. It's time for cleanup!
My recommendation, which I will post in the Cleanup topic area, is to
accept answer by Kocil.
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jmcg
EE Cleanup Volunteer
My recommendation, which I will post in the Cleanup topic area, is to
accept answer by Kocil.
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jmcg
EE Cleanup Volunteer
Computer = ? (PC / Mac / etc)
Operatinf System = ? (DOS text / DOS graphic / Windows / Linux, etc)
Compiler = ? (Borland C++, Visual C++, GCC, etc)