当前位置: 代码迷 >> PRINTT的解决方案
 
  • 为什么a&&b的结果会是这样?

    printt(a,b,c);没见过,谁能讲讲~这应当是个‘,’运算如果a,b为真输出c color='#FF8000'>----------------解决方案--------------------------------------------------------

    264
    热度
  • 为什么a&&b的结果会是这样?

    为什么a&&b的结果会是这样? #defineprintt(a,b,c)printf("a=%d\tb\%d\tc=%\n",a,b,c);main(){inta,b,c;a=b=c=2;++a||++b&&++c;printt(a,b,c);}结果为什么是a=3b=2c=2呢?这个&&是怎么运算的?PRINTT是……? ...

    356
    热度
  • synchronized 有关问题

    求一个synchronized问题JavacodepublicclassTestThread{staticintaa=0;publicstaticvoidmain(String[]args){Threadda=newTestThread().newThreadd();Threaddb=newTestThread().newThreadd();Threaddc=newTestThread().new...

    560
    热度
  • 100分,请高手帮小弟我说说以下代码中说的“事件与委托”的怪现象。多谢了,在线,立即给

    100分,请高手帮我说说以下代码中说的“事件与委托”的怪现象。谢谢了,在线,立即给。代码如下:usingSystem;publicdelegatestringdaili(stringa,intb);namespaceTest{publiceventdailishijian;classtest{Resultr=newResult();shijian+=newdaili(r.test_shijian)...

    1758
    热度
  • 在学数学,请会高数的朋友进来看看我理解是否对

    在学数学,请会高数的朋友进来看看我理解是否对 //关于矩阵的运算看看描述得是否对. //谢谢! [CODE] #include<stdio.h> #include<stdlib.h> voidprintA(intX[][5]);//打印矩阵 voidprintT(intX[][3]); voidexps(intA[][],charch,intB[...

    162
    热度
上一页1下一页