![]() |
| | #1 |
| Guest
Posts: n/a
| i want to support 256 colors to my C progs. but i don't know how will i do it. is there anyone who will help me? generally i do my all progs in graphics mode, so it is very necessary for me to support 256 colors. pls, pls, pls help me.... thank u everybody. bye... my e-mail address : jackie_islam@www.com ---- jackie. |
|
| | #2 |
| Confused Join Date: Sep 2001 Location: Sweden
Posts: 3,125
| Well, what graphics mode do you use then? Most modes I know of supports at least 256 colours...
__________________ MagosX.com Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
| Magos is offline | |
| | #3 |
| Guest
Posts: n/a
| guys, my PC-OS is Windows NT and Windows 98, i'm using Turbo C and Turbo Compiler. i generally programmed in graphics mode in Turbo C. i enjoy it...thinking u can help me to increment it. i'm developing a game now, so its obvious. thanx. .................. |
|
| | #4 |
| Registered User Join Date: Mar 2002
Posts: 28
| what graphic library are u using... if u're using conio.h which comes with Turbo C (awful compiler btw) it'll only support 16 colors, and 16 blinking colors (very useful to drive your teacher insane) u'll probably need to use something slightly more advanced... maybe ncurses will work (never actually played w/ them though)
__________________ curiousity killed the cat, but it makes for one hell of a programmer. Alien. |
| Alien_Freak is offline | |
| | #5 |
| Registered User Join Date: Oct 2001
Posts: 22
| 256 colors...hardware interaction... hello, i did some advance. i can support 256 colors by direct VGA memory access and obviously not using the Turbo C graphics libs. but now the qs is that, if i support it by direct hardware interaction, then if it is necessary to write the whole prog by communicating with hardware access? thanx... take care...
__________________ Jackie |
| Jackie is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| failure to import external C libraries in C++ project | nocturna_gr | C++ Programming | 3 | 12-02-2007 03:49 PM |
| Dev-cpp - compiler options | tretton | C Programming | 7 | 01-06-2006 06:20 PM |
| How can I use 256 Colors at a time in Turbo C | fundu725 | C Programming | 0 | 08-04-2002 03:14 PM |
| how can I set 256 colors? | rahat | A Brief History of Cprogramming.com | 8 | 12-03-2001 07:53 PM |