How do I change the color of text in c++. I've used system("color") to change all the text of the console output, but I need to find out how to do with just two letters that belong to two different variables.
alright how do I assign a color to a variable. Tried this retard assignment, but it obviously didn't work. I want name2 to be printed in standard console color and name to be printed in whatever color I tried assigning it here.
Okay so I'm pretty sure what I want to do for my program is impossible since you can't assign a color to a variable. I wanted to make the X's yellow and the O's red for my tic tac toe game. I'm passing both letters by reference.