>打印为62和<打印为60 [英] > is printing as 62 and < is printing as 60
本文介绍了>打印为62和<打印为60的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为什么cout<< ''<''print 62
和cout<< ''>''打印60
是否有一些我已经破坏的旗帜?
why would cout << ''<'' print 62
and cout << ''>'' print 60
Is there some flag that I have clobbered?
推荐答案
JustSomeGuy写道:
JustSomeGuy wrote:
为什么会cout<< ''<''print 62
和cout<< ''>''打印60
是否有一些我已经破坏过的旗帜?
why would cout << ''<'' print 62
and cout << ''>'' print 60
Is there some flag that I have clobbered?
类似下面的代码会给你那个输出?
#include< iostream>
int main()
{
std :: cout<< ''<'';
}
-
Sumit Rajan< su ******* **@gmail.com>
Something like the following code gives you that output?
#include <iostream>
int main()
{
std::cout << ''<'';
}
--
Sumit Rajan <su*********@gmail.com>
''<''是字符代码62,''>''是字符代码60 - 流操作符
只是将它们视为整数 - cout<< "<"会工作的。
ad
" JustSomeGuy" <无** @ nottelling.com>在消息中写道
news:JcJsd.415656
''<'' is character code 62, and ''>'' is character code 60 - the stream operator
just sees them as ints - cout << "<" would work.
ad
"JustSomeGuy" <no**@nottelling.com> wrote in message
news:JcJsd.415656
Pl.248656@pd7tw1no ...
Pl.248656@pd7tw1no...
为什么会cout<< ''<''print 62
和cout<< ''>''打印60
是否有一些我已经破坏的旗帜?
why would cout << ''<'' print 62
and cout << ''>'' print 60
Is there some flag that I have clobbered?
这篇关于>打印为62和<打印为60的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文