How can I put a color in JUST a variable from my code in C?
I was able to change all colors of ALL of all letters with system("color 02");
with the #include <conio.h>
library.
But how do I have multiple colors on the same screen?
For example, how would you put each color name there with your own color on the same screen?
Edit: even if I put multiple system color 02 or textcolor it only changes once the font color and does not allow multiple colors ...
printf("\t\t================ MENU ==================\n");
printf("\n\t\t\tDigite 1 para a cor verde\n");
printf("\t\t\tDigite 2 para a cor azul\n");
printf("\t\t\tDigite 3 para a cor amarelo\n");
printf("\t\t\tDigite 4 para a cor vermelho\n");
printf("\t\t\tDigite 5 para a cor roxo\n");
printf("\t\t\tDigite 6 para a cor marrom\n\n");
printf("\t\t================ MENU ==================\n");