Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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++ serverת·¢¸ø C++ client Ö´ÐÐ.
4.ÎÊÌâ³öÀ´ÁË,ÎÒ²»ÖªµÀÈçºÎ°ÑBrowerµÄÖ´ÐÐÖ¸ÁîÏ·¢µ½µ×²ãµÄ php Server Óë C++ server½¨Á¢µÄsocketÁ¬½ÓÖÐ.
c++ client <==> c++ server <==> php Server(apache tomcat) <==> Brower
ÄãÕâ¸ö¹«Ê½ÄܳÉÁ¢Âð???


ÒýÓÃ

c++ client <==> c++ server <==> php Server(apache tomcat) <==> Brower
ÄãÕâ¸ö¹«Ê½ÄܳÉÁ¢Âð???

²»Êǹ«Ê½,Ö»ÊÇ´ú±í ͨÐŵķ½Ïò, "<==>"´ú±í»¥Í¨

1¡¢Brower Ö»ÄÜ·¢Ö¸Áîµ½php Server(apache tomcat)£¬µ±È»c++ server Èç¹ûÊÇÒ»¸ö»ùÓÚHTTP·þÎñ£¬Ò²ÊÇ¿ÉÒԵġ£

2¡¢Ö»Òªphp Server(apache tomcat)ºÍc++ serverÄÜͨÐÅ£¬ÄãÏë×öʲô¾Í×öʲôѽ£¬²»ÖªµÀÂ¥Ö÷ÏëÖªµÀʲô£¿

ÒýÓÃ
c++ client <==> c++ server <==> php Server(apache tomcat) <==> Brower

4.ÎÊÌâ³öÀ´ÁË,ÎÒ²»ÖªµÀÈçºÎ°ÑBrowerµÄÖ´ÐÐÖ¸ÁîÏ·¢µ½µ×²ãµÄ php Server Óë C++ server½¨Á¢µÄsocketÁ¬½ÓÖÐ.

Â¥Ö÷¾Ù¸öÀý×ÓÀ´Ëµ£¬Äãͨ¹ýä¯ÀÀÆ÷·¢Ë͵ÄʲôÐÅÏ¢¸øphp server?

¿ÉÒԲο´Õâ¸öblog¿´¿´
http://hi.baidu.com/liyangzyl/blog/item/caea2d46f6e4d246500ffe67.html

Óû§ä¯ÀÀÆ÷Ï


Ïà¹ØÎÊ´ð£º

c¾²Ì¬±àÒëÁíÒ»¸öÎļþ¼ÐµÄ¿âº¯Êý - C/C++ / CÓïÑÔ

ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......

php¸újspÖ®¼äsession¹²ÏíµÄÎÊÌâ - Java / Web ¿ª·¢

×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔ­ÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬Ô­À´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨
......

ÐÂѧPHP Çë½ÌÎÊÌâ - PHP / »ù´¡±à³Ì

PHPÖÐ ÉùÃ÷±äÁ¿µÄʱºòÒ»¸ö$¸úÁ½¸ö$µÄÇø±ð
±ÈÈç˵
$var="333"; ±íʾ±äÁ¿ÃûΪ$varµÄ±äÁ¿µÄֵΪ333
$var="myvar";$$var="333";±íʾ±äÁ¿ÃûΪ$myvarµÄ±äÁ¿µÄֵΪ333
ÕâÑù˵Çå³þÁËÂ𣿠......

ÓйØAccessÊý¾Ý¿â´æÈ¡µÄÎÊÌâ - C++ Builder / »ù´¡Àà

ÈçºÎ½«Ò»¸öListBoxÖеÄÊý¾Ý´æÔÚÊý¾Ý¿âÖеÄÒ»¸ö×Ö¶ÎÏÂÃ棬²¢ÇÒÿÌõ¼Ç¼µÄ×Ö·û´®¸öÊý²»Ò»¶¨ ÒÔ¼°ÈçºÎ´ÓÊý¾Ý¿âÖжÁÈ¡¸ÃListBoxÖеÄËùÓмǼ
C/C++ code:

//´æÈëÊý¾Ý¿â
void __fastcall TForm1::Button5Click(TO ......

CÖÐÈçºÎÅжÏdoubleÐÍÊý×éΪ¿Õ - C/C++ / CÓïÑÔ

[align=center][/align]CÓïÑÔÖÐÈçºÎÅжÏÒ»¸ödoubleÐ͵ÄÊý×飨Èçdouble S[20]£»£©ÊÇÒ»¸ö¿ÕÊý×飬¼´Êý×éÖÐûÓзÅÈκÎÖµ¡£
û°ì·¨¡£

"ÈκÎÖµ" µÄ¶¨Òå?

¾ÍÊÇÊý×éÊǿյģ¬Ã»ÓÐΪËü¸³Öµ

¿ÉÒÔ¿¼Â ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ