帮个忙吧各位C大虾!c语言中:warning C4804: '<' : unsafe use of type 'bool' in operation
来源:百度知道 编辑:UC知道 时间:2024/09/28 14:18:47
各位,帮个忙啊!
这是C++里的吧,Ansi C里面没有bool,你应该是使用的C++编译器编译C程序
这句话的意思:对bool类型使用“<”操作符是不安全的……
不过只是waring,不影响编译通过的。
UC知道是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度知道 编辑:UC知道 时间:2024/09/28 14:18:47
这是C++里的吧,Ansi C里面没有bool,你应该是使用的C++编译器编译C程序
这句话的意思:对bool类型使用“<”操作符是不安全的……
不过只是waring,不影响编译通过的。