Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
尴尬了,不知道怎么求余。。。。 C++ 就是 % 但是of编译错误提示是这个。。。 我在user guide 上也没看到啊
error: invalid operands of types ‘Foam::scalar {aka double}’ and ‘Foam::scalar {aka double}’ to binary ‘operator%’ scalar kk= currentt % cleartime;
% 是整数求余,浮点数,不存在求余操作啊。
@xpqiu 哇 对啊。。。脑残中 谢谢大佬