[Error] invalid argumentoperands of types 'long long int' and 'double' to binary 'operat
来源:蜘蛛抓取(WebSpider)
时间:2019-05-26 06:01
标签:
invalid operands
这段代码按预期工作的 INT 键入:
在 INT 昰通过普通的 T 更换时编译器抱怨:
运算符'= “不能应用于类型的操作数'T'和'T'
为什么会出现这种情况,是有解决这个问题的方法