string constant 字符串常数 ; 字符串常量 ; [计] 串常数 ; 字串常数
character string constant [计] 字符串常数 ; 串常数
String constant too long 字符串常量太长
bit string constant [计] 位串常数
Unterminated string or character constant 字符串缺少引号 ; 字符串缺乏引号
Empty String Constant 空字符串常量
literal string constant [计] 文字串常量
String constant expected 应该用字符串常量
Indeed, 'a string' is a constant string you can't modify.
事实上,‘a string’是一个不能修改的常量字符串。
By using a constant string, you avoid allocating memory, copying the string, and the transcoding process.
通过使用常量字符串,可以避免分配内存、复制字符串和编码转换过程。
The second case expression uses a wildcard for the firstName part of Person but matches against the constant string Neward in the lastName part and wildcards against the age part.
第二个 case 表达式 在 Person 的 firstName 部分使用了一个通配符,但在 lastName 部分使用常量字符串 Neward 来匹配,在 age 部分使用通配符来匹配。
应用推荐