Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : c++

Çë½Ì¸ßÊÖC³ÌÐòÔËÐÐÎÊÌâ - C/C++ / CÓïÑÔ

³ÌÐòÈçÏ£º
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;
   
  ......

ѧphpÈ´°ÚÍѲ»µôC/C++Ôõô°ì - PHP / »ù´¡±à³Ì

ÈçÌ⣬ÒÔÇ°ÊÇŪC++µÄ£¬ÎªÁËѧЩÐÂ֪ʶ£¬×öЩÍøÒ³£¬Ñ§ÁËphp£¬È´»¹ÊÇ°ÚÍѲ»µôC++µÄ˼ά¡£
ÎÒµÄ벡¾ÍÊǺ޲»µÃʲô¶¼×Ô¼ºÀ´Ð´£¬×ÜÊDz»¼ÇµÃϵͳ¸øÎÒÌṩÁËÄÄЩº¯Êý£¬º¯ÊýÃû×Ö£¬²ÎÊýµÈµÈ¡£
Çó¾­Ñ飬лл£¡
ʲô¶¼×Ô¼ºÐ´²ÅÊÇÅ£ÈË°¢...

°Ú²»µôÄDz»¸üºÃ,,phpµÄµ×²ã¶¼ÊÇc++дµÄ..
phpÒ²¿ÉÒÔÃæÏò¶ÔÏóµÄ..
php ¼òÖ±ÊDzݸùµÄ,Ò» ......

c++·þÎñ¶Ë ,php ¿Í»§¶ËÓöµ½µÄÎÊÌâ - PHP / Framework

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/C++ / CÓïÑÔ

¸üºÃµÄC£¬×Ô¼ºµÄC£¬ÐµÄC
´ó¼Ò˵˵×Ô¼º¶ÔCµÄ¸Ä½ø»ò¸ÄÁ¼°æ±¾ÊÇʲôÑù×ӵġ£¿´¿´ÎÒÃǵÄÖǻۡ£
and È¡´ú &&
or È¡´ú ||
not È¡´ú !
bit and È¡´ú&
bit or È¡´ú|
bit not È¡´ú~

¿ÉÒÔ½«cµÄÃæÏò¹ý³ÌµÄ·½Ê½¸Ä³ÉÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼Æ·½Ê½£¬µ«ÊÇÒ»¶¨Òª±£ÁôÖ¸Õ롢λÔËËãµÈµ×²ã²Ù×÷¡£

ÒýÓÃ
and È¡´ú &amp; ......

·ÖÁ¿±àÂëÆ÷µÄC³ÌÐò - C/C++ / CÓïÑÔ

³ÌÐò´úÂëÈçÏ£º
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;
}
¿É·ñ¸ø½âÊÍÒ»ÏÂÈçºÎÀí½â£¿
ÓÑÇé°ï¶¥
......

C/C++ ÖеĹØÓÚrecv sendº¯Êý - C/C++ / CÓïÑÔ

ÎÒÃǹ«Ë¾ÓÃTCP ·¢ËÍÊý¾Ýʱ£¬°üÀ¨¼òµ¥ÏûÏ¢£¬¶¼ÓÃÑ­»·¼ÓÕâÁ½¸öº¯Êý£¬ÕâÑùµÄ»°£¬µ±ÏûÏ¢ºÜÉÙʱ£¬¾Í±ØÐëµÃË«·½ÏÈÖ¸¶¨ºÃÏûÏ¢µÄ³¤¶È¡£Ò²¾ÍÊÇ˵µÃ¶à·¢ËÍÒ»´ÎÊý¾Ý¡£·ñÔòË«·½¾ÍËÀËø¡£È«¶¼ÔڵȴýÊý¾Ý¡£
ÇëÎÊһϣ¬ÕâÊÇÕý³£µÄ½â¾ö·½Ê½Ã´£¿
Èç¹ûÓÃÑ­»·£¬ÄÇôÿ´Î·¢ËͶàÉÙÊý¾ÝºÏÊÊÄØ£¿
1. ȷʵÇé¿öÏ£¬recvºÍsend¶¼ÊÇ×èÈûµÄ£¬Ò²¾ÍÊÇËµÈ ......
×ܼǼÊý:629; ×ÜÒ³Êý:105; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³[2] [3] [4] [5] [6] [7] [8] [9] [10]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ