Explorar o código

修改C++字符串特殊字符的描述

估计是译者粗心了。
itfanr %!s(int64=11) %!d(string=hai) anos
pai
achega
13a6e488c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      eBook/04.6.md

+ 1 - 1
eBook/04.6.md

@@ -22,7 +22,7 @@ Go 支持以下 2 种形式的字面值:
 
 		`This is a raw string \n` 中的 `\n\` 会被原样输出。
 
-和 C/C++ 一样,Go 中的字符串是根据长度限定,而非特殊字符。
+和 C/C++一样,Go 中的字符串是根据长度限定,而非特殊字符`\0`
 
 `string` 类型的零值为长度为零的字符串,即空字符串 `""`。