Basic terminal output using C++ - Questions
问题 Well, the question may sound a bit too vague but here's 2 things I need to do and I'd definitely need some input on this : Output something (e.g. using cout ) with color (note: My TERM environment variable is set to xterm-color if that makes any difference; also, is there any uniform way to output colored text that's compatible with both pure mac and *nix terminals in general, so that the code is portable) Output something at the same position on the terminal screen. OK, this may sound