首页
技术日记
编程
旅游
数码
登录
标签
operands
【c】 invalid operands of types ‘int‘ and ‘double‘ to binary ‘operator%‘
% 符号报错问题 *和的操作数应为算术或枚举类型;%的操作数应为整数或枚举类型。解决:也就是% 只能用于整型或枚举类型,要么把double改为int类型&#x
types
operands
Invalid
int
operator
admin
4月前
45
0