So posting in this forum to help someone (http://www.cplusplus.com/forum/beginner/77879/), I noticed that the function I tought of did'nt work as I would want. I can't have more than 1 different color per cout. Can someone help me?:
Why do you define the color in the beginning? Just curious, I have no idea why it doesn't allow that.
I would simply make the different colors in different lines. That way you don't have to worry about making it any harder than it has to be, and we know that works.
What do you mean by "in the beggining"? In the beggining of the function, or the beggining of int main? What's a better option?
And sometimes it's better to have multiple color changes in a single statement. Probably only sometimes.
Very nicely done. I'm not sure why the color variable still changes when you call the Color routine. I added in a little to show all 255 colors for you.
EDIT :: Understand why the declaring of variables now. Added them back into this program, and also added in the call to reset color to default