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

c/sÓëb/sµÄ²»Í¬

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 ͬÊý¾Ý¿â½øÐÐÊý¾Ý½»»¥¡£
B/SÓëC/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ÎÞ·¨×÷µ½µÄ. Óë²Ù×÷ϵͳƽ̨¹Øϵ×îС.
7£®Óû§½Ó¿Ú²»Í¬
C/S ¶àÊǽ¨Á¢µÄWindowƽ̨ÉÏ,±íÏÖ·½·¨ÓÐÏÞ,¶Ô³ÌÐòÔ±ÆÕ±éÒªÇó½Ï¸ß
B/S ½¨Á¢ÔÚä¯ÀÀÆ÷ÉÏ, Ó


Ïà¹ØÎĵµ£º

C/C++ ±Ê¼Ç£¨ÁãËéµã£©

1£©a = a + 5; Óë a += 5£»µÄÇø±ð¡£
    ¶þÕßÔÚ¹ãÒåÉÏÊǵȼۡ£D.Ritchie ÔÚCÓïÑÔÖÐÒýÈ븴ºÏÔËËã·ûµÄÖ÷ҪĿµÄÊÇΪÁËÌá¸ß±àÒëµÄЧÂÊÒÔ²úÉú¸ßÖÊÁ¿µÄÖ´ÐдúÂë¡£ÒòΪÕâЩÔËËã·ûµÄ¹¦ÄÜ»ù±¾É϶¼ÄÜÓÃÒ»¶þÌõ»úÆ÷Ö¸ÁîÀ´Íê³É¡£
2£©ÔÚC++ÖÐlong Óë int µÄÇø±ð
NameDescriptionSize*Range*
char
Character or s ......

×Ö·û´®µÄÁ½ÖÖ²»Í¬·ç¸ñ: C++·ç¸ñºÍC·ç¸ñ

Õâ¸öÌá·¨Óеã¹ÖÒ죬µ«»¹Êdz£³£³öÏÖ:
char *p = "abcd";
ºÍ
string str = "abcdefg";
µÚÒ»¸ö½Ð×öC·ç¸ñµÄ×Ö·û´®£¬Ô­ÒòÊÇÓÐnull×÷Ϊ½áβ; µÚ¶þ¸öΪC++·ç¸ñµÄ, ²»ÊÇÒÔnull½áβ.
ʵÖÊÉÏ: C·ç¸ñµÄ×Ö·û´®ÊÇ:
char[] pArr = {'a', 'b', 'c', 'd', '\0'};
ÕâÑù¾ö¶¨ÁË´¦Àí·½Ê½µÄ²»Í¬ ......

C\C++ÖÐÈ«¾Ö±äÁ¿ºÍÈ«¾ÖÎļþµÄ·ÃÎÊ×÷ÓÃÓò

externÊÇC/C++ÓïÑÔÖбíÃ÷º¯ÊýºÍÈ«¾Ö±äÁ¿×÷Ó÷¶Î§£¨¿É¼ûÐÔ£©µÄ¹Ø¼ü×Ö.
Ëü¸æËß±àÒëÆ÷£¬ÆäÉùÃ÷µÄº¯ÊýºÍ±äÁ¿¿ÉÒÔÔÚ±¾Ä£¿é»òÆäËüÄ£¿éÖÐʹÓá£
1¡£¶ÔÓÚextern±äÁ¿À´Ëµ£¬½ö½öÊÇÒ»¸ö±äÁ¿µÄÉùÃ÷£¬Æä²¢²»ÊÇÔÚ¶¨Òå·ÖÅäÄÚ´æ¿Õ¼ä¡£Èç¹û¸Ã±äÁ¿¶¨Òå¶à´Î£¬»áÓÐÁ¬½Ó´íÎó
2¡£Í¨³££¬ÔÚÄ£¿éµÄÍ·ÎļþÖжԱ¾Ä£¿éÌṩ¸øÆäËüÄ£¿éÒýÓõĺ¯ÊýºÍÈ«¾Ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ