Can anyone help here. I want to have some color in the intro page the a database program I am creating. DOS based. ie it will be used in a 98 OS in dos.

The one in Microsoft Visual studio where you use a 'comand prompt window' "cl -GX filename.cpp"

I don't to much windows/dos programming, but I think there is a library. You can also use ncurses, I think there is a windows version in Cygwin (http://www.cygwin.com/). Also, if it works in dos, you can just make your own quick library to print ANSI commands, for example "\e[0;31m" then your text would make it red. You can find a list of ANSI escape codes at http://www.bluesock.org/~willg/dev/ansi.html. Hope this helped.

-matt

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.