369IT编程
  •  首页
  •  教程
  •  IT编程
  •  国外技术
  •  登录
  1. 标签
  2. operator
  • 【c】 invalid operands of types ‘int‘ and ‘double‘ to binary ‘operator%‘

    % 符号报错问题 *和的操作数应为算术或枚举类型;%的操作数应为整数或枚举类型。解决:也就是% 只能用于整型或枚举类型,要么把double改为int类型&#x
    typesoperandsInvalidintoperator
    admin4月前
    320
CopyRight © 2022 All Rights Reserved
Processed: 0.025, SQL: 9