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

B/S,C/S

BSÓëCSµÄÁªÏµÓëÇø±ð[ת]
5
ÍƼö
javaÊʺϿª·¢bs½á¹¹£¬cs²»ÊÇËüµÄÇ¿Ïî.
C/SÊÇClient/ServerµÄËõд¡£·þÎñÆ÷ͨ³£²ÉÓøßÐÔÄܵÄPC¡¢¹¤×÷Õ¾»òСÐÍ»ú£¬²¢²ÉÓôóÐÍÊý¾Ý¿âϵͳ£¬ÈçOracle¡¢Sybase¡¢Informix»ò SQL Server¡£¿Í»§¶ËÐèÒª°²×°×¨ÓõĿͻ§¶ËÈí¼þ¡£
B/SÊÇBrower/ServerµÄËõд£¬¿Í»§»úÉÏÖ»Òª°²×°Ò»¸öä¯ÀÀÆ÷£¨Browser£©£¬ÈçNetscape Navigator»òInternet Explorer£¬·þÎñÆ÷°²×°Oracle¡¢Sybase¡¢Informix»ò SQL ServerµÈÊý¾Ý¿â¡£ÔÚÕâÖֽṹÏ£¬Óû§½çÃæÍêȫͨ¹ýWWWä¯ÀÀÆ÷ʵÏÖ£¬Ò»²¿·ÖÊÂÎñÂß¼­ÔÚÇ°¶ËʵÏÖ£¬µ«ÊÇÖ÷ÒªÊÂÎñÂß¼­ÔÚ·þÎñÆ÷¶ËʵÏÖ¡£ä¯ÀÀÆ÷ͨ¹ýWeb Server ͬÊý¾Ý¿â½øÐÐÊý¾Ý½»»¥¡£
C/S Óë B/S Çø±ð£º
1£®Ó²¼þ»·¾³²»Í¬:
C/S Ò»°ã½¨Á¢ÔÚרÓõÄÍøÂçÉÏ, С·¶Î§ÀïµÄÍøÂç»·¾³, ¾ÖÓòÍøÖ®¼äÔÙͨ¹ýרÃÅ·þÎñÆ÷ÌṩÁ¬½ÓºÍÊý¾Ý½»»»·þÎñ.
B/S ½¨Á¢ÔÚ¹ãÓòÍøÖ®ÉϵÄ, ²»±ØÊÇרÃŵÄÍøÂçÓ²¼þ»·¾³,ÀýÓëµç»°ÉÏÍø, ×âÓÃÉ豸. ÐÅÏ¢×Ô¼º¹ÜÀí. ÓбÈC/S¸üÇ¿µÄÊÊÓ¦·¶Î§, Ò»°ãÖ»ÒªÓвÙ×÷ϵͳºÍä¯ÀÀÆ÷¾ÍÐÐ
2£®¶Ô°²È«ÒªÇó²»Í¬
C/S Ò»°ãÃæÏòÏà¶Ô¹Ì¶¨µÄÓû§Èº, ¶ÔÐÅÏ¢°²È«µÄ¿ØÖÆÄÜÁ¦ºÜÇ¿. Ò»°ã¸ß¶È»úÃܵÄÐÅϢϵͳ²ÉÓÃC/S ½á¹¹ÊÊÒË. ¿ÉÒÔͨ¹ýB/S·¢²¼²¿·Ö¿É¹«¿ªÐÅÏ¢.
B/S ½¨Á¢ÔÚ¹ãÓòÍøÖ®ÉÏ, ¶Ô°²È«µÄ¿ØÖÆÄÜÁ¦Ïà¶ÔÈõ, ¿ÉÄÜÃæÏò²»¿ÉÖªµÄÓû§¡£
3£®¶Ô³ÌÐò¼Ü¹¹²»Í¬
C/S ³ÌÐò¿ÉÒÔ¸ü¼Ó×¢ÖØÁ÷³Ì, ¿ÉÒÔ¶ÔȨÏÞ¶à²ã´ÎУÑé, ¶ÔϵͳÔËÐÐËٶȿÉÒÔ½ÏÉÙ¿¼ÂÇ.
B/S ¶Ô°²È«ÒÔ¼°·ÃÎÊËٶȵĶàÖصĿ¼ÂÇ, ½¨Á¢ÔÚÐèÒª¸ü¼ÓÓÅ»¯µÄ»ù´¡Ö®ÉÏ. ±ÈC/SÓиü¸ßµÄÒªÇó B/S½á¹¹µÄ³ÌÐò¼Ü¹¹ÊÇ·¢Õ¹µÄÇ÷ÊÆ, ´ÓMSµÄ.NetϵÁеÄBizTalk 2000 Exchange 2000µÈ, È«ÃæÖ§³ÖÍøÂçµÄ¹¹¼þ´î½¨µÄϵͳ. SUN ºÍIBMÍƵÄJavaBean ¹¹¼þ¼¼ÊõµÈ,ʹ B/S¸ü¼Ó³ÉÊì.
4£®Èí¼þÖØÓò»Í¬
C/S ³ÌÐò¿ÉÒÔ²»¿É±ÜÃâµÄÕûÌåÐÔ¿¼ÂÇ, ¹¹¼þµÄÖØÓÃÐÔ²»ÈçÔÚB/SÒªÇóÏµĹ¹¼þµÄÖØÓÃÐÔºÃ.
B/S ¶ÔµÄ¶àÖؽṹ,ÒªÇó¹¹¼þÏà¶Ô¶ÀÁ¢µÄ¹¦ÄÜ. Äܹ»Ïà¶Ô½ÏºÃµÄÖØÓÃ.¾ÍÈëÂòÀ´µÄ²Í×À¿ÉÒÔÔÙÀûÓÃ,¶ø²»ÊÇ×öÔÚǽÉϵÄʯͷ×À×Ó
5£®ÏµÍ³Î¬»¤²»Í¬
C/S ³ÌÐòÓÉÓÚÕûÌåÐÔ, ±ØÐëÕûÌ忼²ì, ´¦Àí³öÏÖµÄÎÊÌâÒÔ¼°ÏµÍ³Éý¼¶. Éý¼¶ÄÑ. ¿ÉÄÜÊÇÔÙ×öÒ»¸öȫеÄϵͳ
B/S ¹¹¼þ×é³É,·½Ãæ¹¹¼þ¸ö±ðµÄ¸ü»»,ʵÏÖϵͳµÄÎÞ·ìÉý¼¶. ϵͳά»¤¿ªÏú¼õµ½×îС.Óû§´ÓÍøÉÏ×Ô¼ºÏÂÔØ°²×°¾Í¿ÉÒÔʵÏÖÉý¼¶.
6£®´¦ÀíÎÊÌⲻͬ
C/S ³ÌÐò¿ÉÒÔ´¦ÀíÓû§Ãæ¹Ì¶¨, ²¢ÇÒÔÚÏàͬÇøÓò, °²È«ÒªÇó¸ßÐèÇó, Óë²Ù×÷ϵͳÏà¹Ø. Ó¦¸Ã¶¼ÊÇÏàͬµÄϵͳ
B/S ½¨Á¢ÔÚ¹ãÓòÍøÉÏ, ÃæÏò²»Í¬µÄÓû§Èº, ·ÖÉ¢µØÓò, ÕâÊÇC/S


Ïà¹ØÎĵµ£º

ÔÚcÖд¦Àíutf

UTF-8×î´óµÄÒ»¸öÌص㣬¾ÍÊÇËüÊÇÒ»Öֱ䳤µÄ±àÂ뷽ʽ¡£Ëü¿ÉÒÔʹÓÃ1~4¸ö×Ö½Ú±íʾһ¸ö·ûºÅ£¬¸ù¾Ý²»Í¬µÄ·ûºÅ¶ø±ä»¯×Ö½Ú³¤¶È¡£
UTF-8µÄ±àÂë¹æÔòºÜ¼òµ¥£¬Ö»ÓжþÌõ£º
1£©¶ÔÓÚµ¥×ֽڵķûºÅ£¬×ֽڵĵÚһλÉèΪ0£¬ºóÃæ7λΪÕâ¸ö·ûºÅµÄunicodeÂë¡£Òò´Ë¶ÔÓÚÓ¢Óï×Öĸ£¬UTF-8±àÂëºÍASCIIÂëÊÇÏàͬµÄ¡£
2£©¶ÔÓÚn×ֽڵķûºÅ£¨n>1£©£¬µÚÒ ......

C¶àάÊý×é

 Ò»¡¢¶àάÊý×éµØÖ·µÄ±íʾ·½·¨
¡¡¡¡ÉèÓÐÕûÐͶþάÊý×éa[3][4]ÈçÏ£º
¡¡¡¡0 1 2 3
¡¡¡¡4 5 6 7
¡¡¡¡8 9 10 11
¡¡¡¡ÉèÊý×éaµÄÊ×µØַΪ1000£¬¸÷ϱê±äÁ¿µÄÊ×µØÖ·¼°ÆäÖµÈçͼËùʾ¡£  
ÔÚÇ°ÃæÔø¾­½éÉܹý£¬ CÓïÑÔÔÊÐí°ÑÒ»¸ö¶þάÊý×é·Ö½âΪ¶à¸öһάÊý×éÀ´´¦Àí¡£Òò´ËÊý×éa¿É·Ö½âΪÈý¸öһάÊý×飬¼´a[0]£¬a[1]£¬ ......

C/C++ÒÆλÔËËã·û³ö½çºóµÄ½á¹ûÊDz»¿ÉÔ¤ÆÚµÄ

ת×Ô£ºhttp://dev.csdn.net/article/29/29329.shtm
 
¹ØÓÚÂß¼­ÒÆλ¡¢ËãÊõÒÆλ¿É²Î¼û ѸÀ×Éî´ó±ÊÊÔÌⲿ·Ö¡£µÄÒ»µÀÌâ¡£
ÒÔÇ°¿´µ½C++±ê×¼ÉÏ˵£¬ÒÆλÔËËã·û£¨<<¡¢>>£©³ö½çʱµÄÐÐΪ²¢²»È·¶¨£º
The behavior is undefined if the right operand is negative, or greater than or equal to the length in bit ......

¡¾ÌâÄ¿4¡¿ÈçºÎ×Ô¼ºÊµÏÖCº¯Êýstrstr()

½âÌâ˼·£º Õâ¸öÍøÂçÉÏÒѾ­Óкܶà´ð°¸£¬ÕâÀï
ÁоÙÒ»¸ö¸´ÔÓ¶ÈΪ0(m*n)µÄÀý×Ó¡£ÊµÏÖµÄÔ­Àí
ºÜ¼òµ¥£¬Ë³Ðò±éÀúÒª²éÕÒµÄ×Ö·û´®£¬Èç¹ûûÓÐÕÒ
µ½£¬×Ö·û´®Ö¸ÕëÍùǰһ룬ÔÙÍùºó±È½ÏÒª²éÕÒµÄ
×Ö·û´®£¨Ä£Ê½´®£©£¬ÈçÏÂͼËùʾ£º
a b c d  d  d a d a c a b d a d d d a d c k
     &nbs ......

Óà C ʵÏÖ WebService

http://www.vckbase.com/document/viewdoc/?id=1711
×÷ÕߣºÇóÊdzà×Ó
Ò»¡¢ÏµÍ³»·¾³
Linux ²Ù×÷ϵͳ kernel2.4.2£¬°²×° gsoap2.6 µ½Ä¿Â¼/usr/local/gsoap
¶þ¡¢gSOAP µÄ¼òҪʹÓÃÀý×Ó
¡¡¡¡ÏÂÃæÊÇÒ»¸ö¼òµ¥µÄÀý×Ó£¬ÊµÏÖÒ»¸ö¼Ó·¨ÔËËãµÄ WebService£¬¾ßÌ幦ÄÜÊÇ¿Í»§¶Ë£¨client£©ÊäÈë num1 ºÍ num2£¬·þÎñÆ÷¶Ë£¨server£©·µ»Ø num ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ