2 字符串-E
* * 济南大学信息科学与工程学院 * C++ 程序设计 主讲人:赵亚欧 Ise_zhao@ujn.edu.cn 济南大学 信息科学与技术学院 Chapter 6 Strings 6.1 C-strings(C 风格字符串)- review C-string: a string is an array of characters (elements of type char) with the null character \0 in the last element of the array The string literal Hello actually contains 6, rather than 5,characters. char greetings[6] = {H, e, l, l, o, \0}; char greetings[ ] = Hello; char greetings[ ] = \Hello\, I said.; cout greetings; 6.1 C-strings - review If specify the size of the array and the string is shorter than this size, the remaining elements of the array are initia
您可能关注的文档
- 2 金属学及热处理基本知识.ppt
- 1风娃娃_ABC教育网_.ppt
- 2 西方经济学简明原理.ppt
- 2 合金的结晶.ppt
- 2 OpenSceneGraph简介2.ppt
- 2 PE和VC政策展望学习.ppt
- 2 地下建筑结构组成与设计方法 1.ppt
- 2 几种重要的金属化合物 教学设计 教案.docx
- 2 如何正确开展有效性评价.ppt
- 2 图书馆素养(p11-14,24-25).pptx
- 2026《岳阳林纸中高层领导力现状、问题及对策》9200字.doc
- 2026《云南白药内部控制中存在的问题及对策研究》6500字 .doc
- 2026《云南水富云天化企业所得税会计研究》8800字 .doc
- 2026《长赐轮事件中的各类损失及海上保险问题分析》4200字.docx
- 2026《直播带货发展背景下企业品牌价值评估研究的相关理论文献研究综述》6100字.docx
- 6 怎么都快乐 课件-2025-2026学年语文一年级下册统编版.pptx
- 2026《旬邑彩贴剪纸保护与传承研究的文献综述》3300字.docx
- 2026《伊春光明集团薪酬管理改进调研报告》6000字.doc
- 《变现金句1000条》番外篇.pdf
- 第8课《时间的脚印》课件(内嵌视频)-2025-2026学年统编版语文八年级下册.pptx
原创力文档

文档评论(0)