|
-
Apr 23rd, 2001, 06:02 PM
#1
Thread Starter
New Member
I've been trying to move my old C++ console app to VC++ and encountered a problem with conio.h. Well, previously, I used an older borland C++ compiler(3.xx) and conio.h contained a function to change the console text color and the console background color. The VC++ version does not. Is this something specific to Borlands version?
Also, is there some other library in VC++ that can do this? I searched the MSDN help files but couldn't find any.
Here's the example function that utilizes the borland version:
void SetColors(unsigned TxtColor, unsigned BkColor)
{
textcolor(TxtColor); textbackground(BkColor);
}
Thanks,
Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|