摘要: \r为回车:光标回到行首\n为换行:另起一行cout << "hello\r" << "world"; //输出worldcout << "hello\n" << "world"; //输出hello // world 阅读全文