Hi all I was just look at some of the posts and saw textcolor() fuction,and was wondering if it's in the stdio.h libary,or will I have to write it myself?
Mach :confused:
Printable View
Hi all I was just look at some of the posts and saw textcolor() fuction,and was wondering if it's in the stdio.h libary,or will I have to write it myself?
Mach :confused:
i think you need conio.h .but textcolor() only works on dos and windows, so you'll have to try something different if you're using nix.
textcolor() is part of a Borland C library called conio. It's not standard at all.Quote:
Originally Posted by Mach_ie
There are different techniques to enhance the display. Some deal directly with the hardware (DOS/Windows -> conio, unix-like : [n]curses), others assume that the terminal has special display enhancements, like the VT-100 escape sequences (aka ANSI sequences), Videotext, HTML etc.
In that case you can probably use printf() to send the character sequences to stdout.
Thanks for clearing that up.
Mach