gpt4 book ai didi

string - 为什么将字符串称为 “strings”?

转载 作者:行者123 更新时间:2023-12-03 12:00:12 25 4
gpt4 key购买 nike

这个问题已经在这里有了答案:




已关闭10年。




Possible Duplicate:
The History Behind the Definition of a 'String'…



我所见过的每种编程语言唯一能够达成共识的就是,引用文本块的变量称为“字符串”。为什么?这个名字是从哪里来的?在整个编程中,它是怎么变得惯用的?

最佳答案

好问题!这可能会有所帮助:

Strings are called "strings" because they are made up of a sequence, or string, of characters.



资料来源: http://www.vias.org/cppcourse/chap07_03.html

关于string - 为什么将字符串称为 “strings”? ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4401975/

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