ÓÐÈý¸öÎļþ£¬w.h,w.cpp,m.cpp£¬ÆäÖÐm.cppÖÐÓÐmainº¯Êý£¬²¢ÇÒÐèÒª´«µÝÒ»¸öÎļþ²ÎÊý¡£
Çë½ÌÏ£¬ÈçºÎÔÚlinux»·¾³Ï±àÒëµ÷ÊÔ£¿
ÎÒ¶ÔlinuxϵıàÒ뼸ºõÍêÈ«²»¶®£¬¿É·ñÏêϸ½â´ðÏ£¬Ð»Ð»ÁË
up£¡£¡
up£¡£¡
g++
g++ -g -o mw m.cpp w.cpp
¿É·ñÏêϸ˵Ã÷Ï£¬ÎÒ´ÓûÔÚlinuxϱàÒë¹ý³ÌÐò¡£¡£¡£¡£¡£¡£
±àÒ룺
g++ w.cp ......
Ò»¹²ÓÐ3¸ö.cppÎļþ£¬2¸ö.hÎļþ
a.cpp a.h ¶¨ÒåÒ»¸öAÀà
b.cpp b.h ¶¨ÒåÒ»¸öBÀ࣬BÀàÖÐÓÐÒ»¸ö³ÉÔ±ÊÇAÀàµÄ¶ÔÏó
main.cpp ʹÓÃÁËBÀàµÄ¶ÔÏó
ÏÖÔÚÐèÒªÔÚLinuxϱàÒë
Ï£Íû¸ßÈËÖ¸µãһϣ¬Ð´Ò»¸ö×î¼òµ¥µÄmakefile¼´¿É£¬·Ç³£¸Ðл£¡
Ö§³Ö
ÒýÓÃ
ÄĸöÎļþÖÐʹÓÃÁËÄĸöÀֻ࣬ÐèÒªÔÚÆäÖаüº¬ÏàÓ¦µÄÍ·Îļþ¾Í¿ÉÒÔÁË¡£Õâ¸öÓ ......
ÎÒÂòÁËÒ»¸ö¶ÀÁ¢·þÎñÆ÷ Óй̶¨IP ²¢ÇÒÓòÃûÒ²ÒѾ½âÎöµ½ÏàÓ¦µÄIPÉÏÁË
ͨ¹ýF-Secure SSH Ò²ÒѾÁ¬ÉÏ·þÎñÆ÷ ¹Ø¼ü²»»áÈ÷þÎñÆ÷°ó¶¨ÉÏÏàÓ¦µÄÓòÃû û·¨·ÃÎÊ
Ҳͨ¹ýÍøÉÏÏà¹Ø½Ì³ÌÊÔÁË ¿ÉÊÇûÓà ÆäÖÐÒ»¸öÏà¶ÔÈ«Ò»µãµÄ½Ì³Ì
http://www.rosoo.net/a/Dev/Web/200910/7572.html ¿ÉÊÇÅäÖÃÁËûÓÃ
Ï£Íû¸÷λ´óÀÏ°ï°ïæ Íò·Ö¸Ðл
apache µ ......
ÎÒÒªÔÚlinuxϵͳÏÂÅäÖÃjava¿ª·¢»·¾³±ÈÈçEclipseµÄ°²×°¡¢jdkµÄ»·¾³±äÁ¿µÄÅäÖá¢tomcatÅäÖá¢mysqlÅäÖõÈÎÒ¸ÃÔõô½«ÕâЩÎļþ¿½±´µ½linuxϵͳÏÂÄØ£¬ÎÒµÄlinuxÊÇÔÚÐéÄâ»úÖа²×°µÄ¡£Çë½Ì¸ßÊÖÁË£¬Ð»Ð»£¡
ÓõÚÈý·½ÌṩµÄÖ§³Ö£¬ÈçSSH£¬FtpµÈ¾Í¿ÉÒÔ½«ÄãÒªÓõÄÈí¼þ¼Óµ½linuxϵͳÀïÁË£¡
ºÇºÇ¡£¡£
Çë¿´ÏÂÃæµÄÁ¬½Ó£º
http://bbs.51 ......
LinuxÏÂ×ö2¸öỊ̈߳¬Ò»¸öÿ¸ô0.5sÏÔʾ£¬ÁíÒ»¸öÿ¸ô0.8sÏÔʾ³öÀ´
1¸öCÏ·Å2¸öÏß³Ì
Ë»á×öµÄ£¬ËÙ¶È~~~~
ʹÓÃselect¾ÍOKÁË
pthread_create ´´½¨Ïß³Ì
timer Õû¸ö¶¨Ê±Æ÷
»¹ÊDz»Ì«Ã÷°×£¬ÓÐÍêÕûµÄ¹ý³Ìô
ÒýÓÃ
pthread_create ´´½¨Ïß³Ì
timer Õû¸ö¶¨Ê±Æ÷
ɶʱºò»ìÕâ±ßÁË£¿
5LÕæËٶȣ¬lzÕæÀÁ£¬¼ ......
ÔÚubuntuÏ¿ÉÒԺܷ½±ãµÄʹÓÃman²é¿´Cº¯ÊýµÄÔÐÍ·µ»ØֵʲôµÄ
µ«ÓÐһЩ¹Ø¼ü×Ö£¬±ÈÈçtime£¬clock£¬ÔÚʹÓÃmanµÄʱºò¾Í»á½øÈëshell¹Ø¼ü×ֵİïÖú
ÇëÎÊÈçºÎÔÚman time£¨»òÕßÆäËûºÍshell¹Ø¼ü×ÖÓгåÍ»µÄʱºò)ʹÓÃCº¯ÊýµÄ°ïÖú?
man 3 XXX¾Í¿ÉÒÔÁË
man 1ÊÇshellÃüÁman 2ÊÇϵͳµ÷Óã¬man 3Êǿ⺯Êý
ʹÓÃmanʱ¿ÉÒÔÖ¸¶¨²»Í¬µ ......
×ܼǼÊý:1408; ×ÜÒ³Êý:235; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [1] 2
[3] [4] [5] [6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ