November 4, 2011

C Program that prints the rows of DOS screen with different colors

C Program that prints the rows of DOS screen with different colors:

It was a challenging task when i was not sure that which version of C language should i use? I tried TC, TC++, Borland’s, Dev Shed’s. By the way final solution was as recommended Borland C++ with bios.h but thanks to Dev Shed’s example which helped me a lot when i got graphics.h file from there as well 🙂

The remaining part was logical, that how to print colored rows on DOS. I was much tired at that time so ignore my logic block. But it was working fine. Hopefully this article will and attached files will help those guys who are messing with C, C++ versions to get the graphics library working properly.

C++ Graphics.h Library File

Attachment

Last updated: March 19, 2014