Linux大棚 – 不忘初心的技术博客,浮躁时代的安静角落
  •  首页
  •  技术日记
  •  编程
  •  旅游
  •  数码
  •  登录
  1. 标签
  2. operator
  • 【c】 invalid operands of types ‘int‘ and ‘double‘ to binary ‘operator%‘

    % 符号报错问题 *和的操作数应为算术或枚举类型;%的操作数应为整数或枚举类型。解决:也就是% 只能用于整型或枚举类型,要么把double改为int类型&#x
    types operands Invalid int operator
    admin 4月前
    45 0
CopyRight © 2022 All Rights Reserved 豫ICP备2021025688号-21
Processed: 0.015 , SQL: 9