Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
System.out.println("You are currently at " + n);
我只想为输出中的“n”着色,n 是一个已经初始化的 int。有没有办法做到这一点?
搜索“颜色控制字符”。这是一个链接:http ://www.linuxgazette.net/issue65/padala.html