"unsafe use of type 'bool' in operation"

"unsafe use of type 'bool' in operation"
我的程序是
#include
using namespace std;
void main()
{
char c1='a',c2='b',c3='c';
int i1=10,i2=20,i3=30;
double d1=0.1,d2=0.2,d3=0.3;
double x;
x=i1>i2>i3
redred_00 1年前 已收到1个回答 举报

心要让你听见2007 幼苗

共回答了21个问题采纳率:81% 举报

警告:操作中"布尔"型数据不安全的使用.
x=i1>i2>i3

1年前

4
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 3.641 s. - webmaster@yulucn.com