What are the cool stuff we can do with system() function in C?
For example
system ("color 0B");
turns terminal colour red.
Answers
Answered by
0
I was wondering if its possible to have different colored text on the same line in a Windows batch file, for example if it says
echo hi world
I want "hi" to be one color, and "world" to be another color. Maybe I could set the COLOR command as a variable:
set color1= color 2
set color9= color A
and then deploy them both on the same line along with
echo hi world
but I don't know how I would do that.
Similar questions
Math,
1 month ago
Math,
1 month ago
Math,
2 months ago
Chemistry,
9 months ago
CBSE BOARD XII,
9 months ago