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

c/c++ÃæÊÔÌâ

½ñÌìÈ¥ÃæÊÔÒ»¼Ò¹«Ë¾£¬ÌîÁËÒ»·Ý“»§¿Úµ÷²é”£¬È»ºó¾ÍÊÇ×öÒ»·ÝÃæÊÔÌ⣬ÌâÄ¿ºÜ¼òµ¥
1¡¢¸Ä´íÌ⣬¸øÒ»¶Î³ÌÐò£¬Ö¸³ö´íÎó
2¡¢Socket×èÈûºÍ·Ç×èÈû±à³Ì£¬·Ç×èÈûµÄʵÏÖÔ­Àí
3¡¢TCP/IPÓëOSIÆß²ãÄ£ÐÍ
TCP/IP²Î¿¼Ä£Ð͹²ÓÐÎå²ã£ºÓ¦Óò㡢´«Êä²ã¡¢»¥ÁªÍø²ãºÍÖ÷»úÖÁÍøÂç²ã¡£
ÓëOSI²Î¿¼Ä£ÐÍÏà±È£¬TCP/IP²Î¿¼Ä£ÐÍûÓбíʾ²ãºÍ»á»°²ã¡£»¥ÁªÍø²ãÏ൱ÓÚOSIÄ£Ð͵ÄÍøÂç²ã£¬Ö÷»úÖÁÍøÂç²ãÏ൱ÓÚOSIÄ£ÐÍÖеÄÎïÀí²ãºÍÊý¾ÝÁ´Â·²ã
4¡¢ÓÃcʵÏÖ¿ìËÙÅжÏÒ»¸öÊýÊDz»ÊÇ2µÄn´Î·½
5¡¢Ð´³öÒ»¸öÅÅÐòËã·¨Æä¿Õ¼ä¸´ÔӶȼ°Ê±¼ä¸´ÔÓ¶È
6¡¢½¨Á¢Ò»¸ö2²æÊ÷²¢ÊµÏÖÒ»¸ö±éÀúËã·¨
ÌâÄ¿ËäÈ»¼òµ¥£¬»¹ÊǹÒÁË£¬Ö÷Òª»¹ÊÇÒòΪ׼±¸²»¹»£¬¸Ä´íÌâû¸Ä¶Ô£¬Ñ۹ⲻÈñÀû°¡¡£SocketÕâ¸ö¶«Î÷ÎÒ»¹ÊDz»Ì«Çå³þËüµÄÔ­Àí¡£Æß²ãЭÒ黹ÊǼǵã¬TCP/IPµÄ¾Í²»¼ÇµÃÁË¡£2µÄn´Î·½Õâ¸ö»¹ÊǺÜeasyµÄ¡£ÅÅÐòÎҾ;ÙÁËðÅÝÅÅÐò£¬¿Õ¼ä¸´ÔÓ¶ÈO(n)£¬Ê±¼ä¸´ÔÓ¶ÈO(n^2)¡£Õâ¸öÌâ´ð²îÁË£¬ÎÒдµÄ¿Õ¼ä¸´ÔÓ¶ÈÊÇn£¬°ÑO()¸ø¶ªÁË£¬Ê±¼ä¸´ÔӶȲ»ÖªµÀΪʲô¾ÍдÁ˸ölogn……ÓôÃÆ£¬ÆäʵÎÒÖªµÀÓ¦¸ÃÊÇn·½¡£¶þ²æÊ÷ÎÒÖªµÀÊÇÔõô»ØÊ£¬µ«ÊDz»¼ÇµÃÓÃc»òÕßc++ÔõôдÁË£¬ËµÁËÏÂÇ°Ðò±éÀú£¬Ð´Á˸öµÝ¹éË㷨α´úÂ룬Ҳûд³ö³ÌÐò¡£HR×îºóÈÃÎÒ»ØÈ¥×¼±¸×¼±¸Ï´ÎÀ´Ö±½Ó×ö±ÊÊÔÌâ¾Í¿ÉÒÔÁË£¬¿´À´ÎÒ±ÊÊÔ²îÁËÌ«¶à£¬ÄÜÏ뻹ÊDz»¹»µÄ£¬»¹ÒªÐ´³öÀ´ÏëµÄ¶«Î÷


Ïà¹ØÎĵµ£º

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¡¢In ......

C ÖÐtypedefµÄһЩʹÓÃ

1. »ù±¾½âÊÍ
¡¡¡¡typedefΪCÓïÑԵĹؼü×Ö£¬×÷ÓÃÊÇΪһÖÖÊý¾ÝÀàÐͶ¨ÒåÒ»¸öÐÂÃû×Ö¡£ÕâÀïµÄÊý¾ÝÀàÐÍ°üÀ¨ÄÚ²¿Êý¾ÝÀàÐÍ£¨int,charµÈ£©ºÍ×Ô¶¨ÒåµÄÊý¾ÝÀàÐÍ£¨structµÈ£©¡£
¡¡¡¡ÔÚ±à³ÌÖÐʹÓÃtypedefÄ¿µÄÒ»°ãÓÐÁ½¸ö£¬Ò»¸öÊǸø±äÁ¿Ò»¸öÒ×¼ÇÇÒÒâÒåÃ÷È·µÄÐÂÃû×Ö£¬ÁíÒ»¸öÊǼò»¯Ò»Ð©±È½Ï¸´ÔÓµÄÀàÐÍÉùÃ÷¡£
¡¡¡¡ÖÁÓÚtypedefÓÐʲô΢ÃîÖ®´ ......

9)LinuxÏÂC¿ª·¢¹¤¾ß½éÉÜ

9)LinuxÏÂC¿ª·¢¹¤¾ß½éÉÜ
LinuxµÄ·¢ÐаæÖаüº¬Á˺ܶàÈí¼þ¿ª·¢¹¤¾ß. ËüÃÇÖеĺܶàÊÇÓÃÓÚ C ºÍ C++Ó¦ÓóÌÐò¿ª·¢
µÄ. ±¾ÎĽéÉÜÁËÔÚ Linux ÏÂÄÜÓÃÓÚ C Ó¦ÓóÌÐò¿ª·¢ºÍµ÷ÊԵŤ¾ß. ±¾ÎĵÄÖ÷Ö¼ÊǽéÉÜÈç
ºÎÔÚ Linux ÏÂʹÓà C ±àÒëÆ÷ºÍÆäËû C ±à³Ì¹¤¾ß, ¶ø·Ç C ÓïÑÔ±à³ÌµÄ½Ì³Ì.
GNU C ±àÒëÆ÷
GNU C ±àÒëÆ÷(GCC)ÊÇÒ»¸öÈ«¹¦Ä ......

Boost Python ʵÏÖCµ÷ÓÃpython´íÎó½â¾ö·½·¨

ÓÉÓÚBoost Python¸ú²»ÉÏPython°æ±¾¸üУ¬ÈçÏ·½·¨µ÷ÓÿÉÄܲúÉúTypeError: 'NoneType' object does not support item assignmentÒì³£¡£
Boost PythonÎĵµÖÐÀý×Ó¿ÉÄܲúÉúÒì³£¡£
Py_Initialize();
object main_module = import("__main__");
object main_dict = main_module.attr("__dict__");
try{
   object ......

javaµ÷ÓÃC/C++дµÄdll

JavaÓïÑÔ±¾Éí¾ßÓпçƽ̨ÐÔ£¬Èç¹ûͨ¹ýJavaµ÷ÓÃDLLµÄ¼¼Êõ·½±ãÒ×Óã¬Ê¹ÓÃJava¿ª·¢Ç°Ì¨½çÃæ¿ÉÒÔ¸ü¿ìËÙ£¬Ò²ÄÜ´øÀ´¿çƽ̨ÐÔ¡£
Javaµ÷ÓÃC/C++дºÃµÄDLL¿âʱ£¬ÓÉÓÚ»ù±¾Êý¾ÝÀàÐͲ»Í¬¡¢Ê¹ÓÃ×Ö½ÚÐòÁпÉÄÜÓвîÒ죬ËùÒÔÔÚ²ÎÊý´«µÝ¹ý³ÌÖÐÈÝÒ׳öÏÖÎÊÌ⣬DLLÖпÉÄÜÐèÒª×öÏàÓ¦µÄת»»¡£
ʹÓÃJavaµ÷ÓÃDLL¶¯Ì¬Á´½Ó¿âµÄ·½°¸Í¨³£ÓÐÈýÖÖ£ºJNI, Ja ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ