且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用+ =将字符附加到字符串时出错:字符串与UInt8不同

更新时间:2022-12-06 19:52:08

在多个测试版中,故意从++语言中将字符附加到字符串中已被删除.使用

The use of += to append a Character to a String was intentionally deleted from the language several betas ago. Use

puzzleOutput.append(char)

puzzleOutput.append(char)

相反.