We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码清单 13-68中...但是C语言中的字符串是一个以 "\n" 结尾的字符数组 .... CStr 类型会产生一个以 "\n" 字符数组的引用
"\n"
C 语言的字符串是以 '\0' 结尾的字符数组
'\0'
在 <<CPrimerPlus 6th>> 中第 11 章第1.1节(在程序中定义字符串)有提及 维基百科: https://en.wikipedia.org/wiki/C_string_handling
The text was updated successfully, but these errors were encountered:
@Kreedzt 感谢反馈。可能和其他issues重复了。请问你看的是第几次印刷版本?
Sorry, something went wrong.
微信读书的版本, 与此重复: #258
No branches or pull requests
C语言字符串描述错误
原文
代码清单 13-68中...但是C语言中的字符串是一个以
"\n"
结尾的字符数组....
CStr 类型会产生一个以
"\n"
字符数组的引用应修改为
C 语言的字符串是以
'\0'
结尾的字符数组The text was updated successfully, but these errors were encountered: