首页 > hello world
头像 HUAYI_SUN
发表于 2022-09-28 09:10:55
#include<iostream> using namespace std; #include<string> int main() {     string a="hello wor 展开全文
头像 AmaZhao
发表于 2025-09-18 19:52:35
在这段代码中,hello world 字符串中的每个字符(包括空格)都会被处理。具体来说,代码中的 for 循环遍历字符串 word 的每个字符,并将每个字符的 ASCII 值加 1 后输出。 详细分析: 字符串 word 的内容: word = "hello world",包含 11 个字符 展开全文