+ 4
How do i add color to my c++ program?
2 Answers
+ 12
To add to @Luka's answer, if you want to use colours which are not in the default colour table, you will have to edit the colour table itself, which is a whole different story.
+ 10
If you are really interested in doing gui, I don't suggest using C or C++, and this is coming from someone who is in love with C. C and C++ are made for speed and memory management not graphics (although you could argue that graphics take speed). It's just really hard to do it. I actually suggest Python or Java for doing something like that. However, if you're anything like me and insist on hard coding it in your favorite language XD, I suggest learning a little C and using either SDL, or OpenGL. They are both open source and a good way to learn, not to mention they actually interact with the GPU of the operating system for lots of control and speed. I also have a tutorial series right here on SoloLearn about teaching C peer to peer. I go pretty in depth on my stuff and even though, I'm two lessons into teaching it, there's a lot more information in it, than you'll get anywhere else. Check it out if you have the chance, you might like it. Some of my grammar isn't great, but you'll still get the point XD.