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.

Recommended Answers

All 3 Replies

Which compiler are you using?

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 ( 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 Hope this helped.


Be a part of the DaniWeb community

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