³ÌÐòÈçÏ£º
struct s
{
int i;
int *p;
};
void main()
{
struct s s;
int *p;
p = &s.i;
p[0] = 4;
p[1] = 1;
s.p = p;
......
ÈçÌ⣬ÒÔÇ°ÊÇŪC++µÄ£¬ÎªÁËѧЩÐÂ֪ʶ£¬×öЩÍøÒ³£¬Ñ§ÁËphp£¬È´»¹ÊÇ°ÚÍѲ»µôC++µÄ˼ά¡£
ÎÒµÄ벡¾ÍÊǺ޲»µÃʲô¶¼×Ô¼ºÀ´Ð´£¬×ÜÊDz»¼ÇµÃϵͳ¸øÎÒÌṩÁËÄÄЩº¯Êý£¬º¯ÊýÃû×Ö£¬²ÎÊýµÈµÈ¡£
Çó¾Ñ飬лл£¡
ʲô¶¼×Ô¼ºÐ´²ÅÊÇÅ£ÈË°¢...
°Ú²»µôÄDz»¸üºÃ,,phpµÄµ×²ã¶¼ÊÇc++дµÄ..
phpÒ²¿ÉÒÔÃæÏò¶ÔÏóµÄ..
php ¼òÖ±ÊDzݸùµÄ,Ò» ......
c++ client <==> c++ server <==> php Server(apache tomcat) <==> Brower
1.ÒòΪ±àдµÄÊÇphp,ËùÒÔÔËÐÐʱ¿Ï¶¨ÊÇphp ServerÔÚ¸ú C++ Server½¨Á¢Á¬½Ó
2. php Server ¸ú c++ clientÒ»Ñù,ÓÃͬÑùµÄÐÒéÁ¬½Ó c++ server
3. Óû§ÓÃBrowerµÇ¼Á¬½Ó php Server,È»ºó ·¢Ö¸ÁîÈà C++ serverÖ´ÐÐ,»òÕßÈÃC++ serv ......
¸üºÃµÄC£¬×Ô¼ºµÄC£¬ÐµÄC
´ó¼Ò˵˵×Ô¼º¶ÔCµÄ¸Ä½ø»ò¸ÄÁ¼°æ±¾ÊÇʲôÑù×ӵġ£¿´¿´ÎÒÃǵÄÖǻۡ£
and È¡´ú &&
or È¡´ú ||
not È¡´ú !
bit and È¡´ú&
bit or È¡´ú|
bit not È¡´ú~
¿ÉÒÔ½«cµÄÃæÏò¹ý³ÌµÄ·½Ê½¸Ä³ÉÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼Æ·½Ê½£¬µ«ÊÇÒ»¶¨Òª±£ÁôÖ¸Õ롢λÔËËãµÈµ×²ã²Ù×÷¡£
ÒýÓÃ
and È¡´ú & ......
³ÌÐò´úÂëÈçÏ£º
void enc(int m[w][w],int v[w][w])
{int t,i,j,d[2];
d[0]=0;
d[1]=0;
for(i=0;i<w;i++)
for(j=0;j<w;j++)
{t=d[0];
d[0]=(m[i][j]+d[0]+d[1])%2;
v[i][j]=(d[0]+d[1])%2;
d[1]=t;
}
¿É·ñ¸ø½âÊÍÒ»ÏÂÈçºÎÀí½â£¿
ÓÑÇé°ï¶¥
......
ÎÒÃǹ«Ë¾ÓÃTCP ·¢ËÍÊý¾Ýʱ£¬°üÀ¨¼òµ¥ÏûÏ¢£¬¶¼ÓÃÑ»·¼ÓÕâÁ½¸öº¯Êý£¬ÕâÑùµÄ»°£¬µ±ÏûÏ¢ºÜÉÙʱ£¬¾Í±ØÐëµÃË«·½ÏÈÖ¸¶¨ºÃÏûÏ¢µÄ³¤¶È¡£Ò²¾ÍÊÇ˵µÃ¶à·¢ËÍÒ»´ÎÊý¾Ý¡£·ñÔòË«·½¾ÍËÀËø¡£È«¶¼ÔڵȴýÊý¾Ý¡£
ÇëÎÊһϣ¬ÕâÊÇÕý³£µÄ½â¾ö·½Ê½Ã´£¿
Èç¹ûÓÃÑ»·£¬ÄÇôÿ´Î·¢ËͶàÉÙÊý¾ÝºÏÊÊÄØ£¿
1. ȷʵÇé¿öÏ£¬recvºÍsend¶¼ÊÇ×èÈûµÄ£¬Ò²¾ÍÊÇËµÈ ......
×ܼǼÊý:629; ×ÜÒ³Êý:105; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ 1
[2] [3] [4] [5] [6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ