CÖеÄÎÊÌâ
#include <iostream.h>
void main(){
int x,y,t=0,b=0;
x=y=0;t=x++&&++y;
cout < <"t=" < <t < <"," < <"x=" < <x < <"," < <"y=" < <y < <endl;
}
½á¹ûΪʲôÊÇ£ºt=0,x=1,y=0
t=x++&&++y;
Õâ¸öÕ¦¼ÆË㣬
#include <iostream.h>
void main(){
int x,y,t=0,b=0;
x=y=0;t=x++&&++y;
cout < <"t=" < <t < <"," < <"x=" < <x < <"," < <"y=" < <y < <endl;
}
½á¹ûΪʲôÊÇ£ºt=0,x=1,y=0
Õâ³ÌÐòȷʵÔËÐеĽá¹ûÊÇÕâ¸ö°¡£¬ËùÒÔÏëÎÊÎʸßÊÖÊÇÔõôÑùµÄÔÀí
&&ÊÇÌõ¼þÔËËã·û¡£
t=x++&&++y;
ÊÇÔõôƹý±àÒëÆ÷µÄ£¿£¿£¿
ÄãÓõÄÊÇʲô°¡£¿
¶Ì·ֹͣËã·¨£¬ÔÚ&&ºÅ֮ǰ¼ÆËãxµÄÖµÈç¹ûΪ0£¬¾Í²»ÔÙ¼ÆËã&&ºóµÄ±í´ïʽ£¡
Ê×
Ïà¹ØÎÊ´ð£º
13¸öÈËΧ³ÉһȦ£¬´ÓµÚÒ»¸öÈË¿ªÊ¼Ë³Ðò±¨ºÅ1£¬2£¬3¡£·²±¨µ½3ÕßÍ˳öȦ×Ó£¬ÕÒ³ö×îºóÁôÔÚȦ×ÓÖеÄÈËÔÀ´µÄÐòºÅ
½á¹ûÓ¦¸ÃÊÇ13 ¿ÉÎҵijÌÐòµÄ½á¹ûÊÇ11 Ï£ÍûºÃÐÄÈ˰ï¸ÄÒ»ÏÂ
#include <stdio.h>
#include < ......
QQȺ 29152388
ÓÑÇéUP
°ï¶¥
up
°ïup
up Ö§³Ö£¡
up jf
...ÄѵÀÓзÖ..?
up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£
Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ
¼ÓÁË¡£
¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......
ÒÔǰÔÚVCÀïÃæ½¨Ò»¸ö¹¤³Ì£¬¶¼Ö»ÓÃÒ»¸ö .c Îļþ£¬×òÌìÔÚÒ»¸ö¹¤³ÌÀïÓÃÁËÁ½¸ö .cÎļþÁË£¬Óöµ½ÎÊÌâÁË£¬Çë´ó¼ÒÖ¸µã¡£±ÈÈ磺
File1.c Fil ......
СµÜ×î½üÐèÒªÓÃLINUX C¿ª·¢Ò»¸öSOCKET SERVER,»¹ÓкܶàÎÊÌâûŪÃ÷°×,ÌØÔÚ´ËÇë½Ì´ó¼Ò - -!!......
³ÌÐò´ó¸ÅµÄÊÇÕâÑùµÄ:
Ò»¸öLINUX C SOCKET SERVER,ÓÃÓÚ´ÓÊý¾Ý¿â¶ÁдÊý¾Ý²¢²Ù×÷Ïà¹Ø»º´æ.
¿Í»§¶Ë ......
ÎÒ½¨ÁËÒ»¸ö´øÍ·Ö¸ÕëµÄÁ´±í
Í·Ö¸ÕëL ÄÇôÎÒÏëɾ³ýÁ´±í
free(l);ÊÇɾ³ýÁËÍ·½áµã »¹ÊÇÁ¬ËüµÄÏÂÃæµÄ½áµãÒ²Ò»ÆðɾÁË£¿
free(l)ºó »¹ÓÃȫɾһ±ãÂ𣿣¨´ÓÄÚ´æµÄ½Ç¶È ²»ÊÇ´Ó²éÕҵĽǶȿ¼ÂÇ£©
ɾͷ½Úµã
»Ø´ðÍê±Ï ......