gpt4 book ai didi

c - 在 C 中解析带引号的字符串

转载 作者:行者123 更新时间:2023-11-30 19:22:45 25 4
gpt4 key购买 nike

是否有对在 C 中存储 Unicode 字符串的数据类型的 native 支持。我正在编写一个玩具编译器,并且想要解析 Unicode 字符串。

最佳答案

Is there native support for a data type for storing Unicode strings in C.

是的。由于 Unicode 字符串可以使用编码方案存储为字节序列,因此可以使用 char 数组来实现此目的。

请注意,支持存储并没有说明解释或操作数据的能力。

关于c - 在 C 中解析带引号的字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15311254/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com