I want to print each letter in different colors in C++. For example, 6 letters. These are first letter light blue, second letter light green, third letter light cyan, fourth letter light red, fifth letter light magenta, sixth letter yellow.
I found other codes online. But these completely change all the letters in the console. For example, all text is just red. What I want is for each letter to be in a different color and the system, namely the return text, to remain in its own color.