访问和修改字符串 (Accessing and Modifying a String) 你可以通字符串的属性和方法来访问和读取一个它,当然也可以用下标语法完成。
基于8个网页-相关网页
访问和修改字符串
Access and modify strings
以上为机器翻译结果,长、整句建议使用 人工翻译 。
因为编译器在静态只读内存中分配常数字符串,所以,尝试修改该内存会导致访问冲突和随机崩溃。
Because the compiler allocates constant strings in a static read-only memory, any attempts to modify it cause access violations and random crashes.
youdao
应用推荐
模块上移
模块下移
不移动