Hi:
I'm trying to get my printf text output to be different colours depending on what is being outputted but the tutorials I've read aren't very clear and dont give any examples especially when it comes to printing out variables in different colours.
The few a have tried or simple turned all of my text output the same colour which is not what I wanted.
printf("\033[22;31m", mode) which instead of printing my mode var the red colour, it changed the entire output to that colour
So if a kind soul could point me in the right direction with some examples it would be appreciated
Christian