字典翻译 问答 其它 【keil环境下GUI.C(213):warningC275:expressionwithpossiblynoeffect这是是怎么回事?源码如下:voidcursorcov(unsignedchar**stylen,unsignedcharn){x05unsignedchari,j;x05stylecursorb=calloc(n,(32*(sizeof(unsignedchar))));x05for(】
问题标题:
【keil环境下GUI.C(213):warningC275:expressionwithpossiblynoeffect这是是怎么回事?源码如下:voidcursorcov(unsignedchar**stylen,unsignedcharn){x05unsignedchari,j;x05stylecursorb=calloc(n,(32*(sizeof(unsignedchar))));x05for(】
问题描述:

keil环境下GUI.C(213):warningC275:expressionwithpossiblynoeffect这是是怎么回事?

源码如下:

voidcursorcov(unsignedchar**stylen,unsignedcharn)

{

x05unsignedchari,j;

x05stylecursorb=calloc(n,(32*(sizeof(unsignedchar))));

x05for(i=0;i

蒋胜龙回答:
  ==号不是=号,没有任何赋值操作.   编译器按照你打的==告诉你,这个语句是多余的,有它和没它运行结果完全相同,有它是徒增计算量.
点击显示
其它推荐
热门其它推荐
  • 其它