无意中用了一下C#,发现VS下面有一个功能还是非常好的,就是每次按下回车键盘的时候,都可以把刚刚输入的那行代码自动排版一下,
看起来要清晰一些。比如inta=0; ==>inta = 0;structNode*p=&node; ==>structNode* p = &node;
a+=b; ==> a += b;int*p=&a; ==>int*p = &a;inta=b+c+d+f; ==>inta = b + c + d + f;for(a=0,b=0;a<10;a++) ==>for(a = 0, b=0; a< 10; a++)if(a==b) ==>if(a == b)if(pbuf!=0) ==>if(a != b)
fwrite(buf,1,size,fp); ==> fwrite(buf, 1, size, fp);
printf("%d %s\n",len,buf); ==> printf("%d %s\n", len, buf);//引号内的不变,引号
...
继续阅读
(19)