相关疑难解决方法(0)

无论如何在Go中创建空终止字符串?

无论如何string在Go中创建null终止?

我目前正在尝试a:="golang\0"但它显示编译错误:

non-octal character in escape sequence: "
Run Code Online (Sandbox Code Playgroud)

string c-strings go

10
推荐指数
1
解决办法
7645
查看次数

标签 统计

c-strings ×1

go ×1

string ×1