Start New Discussion within our Software Development Community

Ok how do I change the texts color without changing all the couts to printfs and without using system("color hex")

No, I mean can I write a chunk of code for this in a function for something, so yes. Is this why people love java?

can I write a chunk of code for this in a function for something, so yes.

You can write a function for it, yes. What you can't do is write a function that magically works on every possible platform. Console text color is inherently non-portable.

Is this why people love java?

Wide portability without losing functionality is one of Java's selling points.

Ok than like in my other thread; how do you change color on the other two giants OSX and Linux?

This question has already been answered. Start a new discussion instead.