理解声明 [英] Understanding the Statement
本文介绍了理解声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是C ++的新手。所以任何人都可以向我解释以下声明在做什么:
I am very new to C++. So anyone can explain me what the below statement is doing:
H_Hash << set_H(COL1) << "Test_OP" << _TempTotals[i] << '\n';
推荐答案
嗯,这取决于对象的类型H_Hash
,因为,你知道,在C ++
您可以重新定义运算符(例如<<
)。
它还取决于set_H
定义(它可能是一个简单的函数返回一个字符串 - 或者其他什么 - 或者一个输出操纵器实例)。 br />
那就是你需要向我们展示更多代码才能获得更好的帮助。
Well, it depends on the type of the objectH_Hash
, because, you know, inC++
you may redefine the operators (like<<
).
It also depends on theset_H
definition (it could be a simple function returning a string - or whatever - or an output manipulator instance).
That is you need to show us more code in order to get better help.
这篇关于理解声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文