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.
首先,您不需要存储字符串 - 为什么不只存储字符?
要在同一行上打印,您需要某种“BrailleChars”集合,然后打印集合中每个字符的“第 0 行”,然后打印每个字符的“第 1 行”等,而不是在移动之前尝试完整打印每个字符到下一个。