std :: cout <

问题描述 投票:2回答:1
我是C ++的新手。我想知道为什么当我运行以下代码时得到

A2105376B:#include <iostream> int main(){ std::cout <<'A' << ' ' <<'B'<<std::endl; return 0; }

提前感谢!

我是C ++的新手。我想知道为什么在运行以下代码时会得到A2105376B:#include

int main(){std :: cout <

c++
1个回答
3
投票
' '是具有int类型和实现定义值的多字符字符文字。
© www.soinside.com 2019 - 2024. All rights reserved.