So I have this function "void textcolor(int color)" where "color" can be replaced with the basic 16 colors upon input.
I don't understand how to impliment this with "printf" though. Is there a text string output function that allows &color INSIDE of the string? Example:Code:void highvideo(); void textcolor(int color);
Any ideas on how I can impliment this into a string output function?Code:// Where &R is the color red and &B is blue printf("This &Rwould &Bbe &Rcolorful...");