By 'without using system("color hex")' do you still mean "works on all systems magically"?
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
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.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401