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

LinuxÓëwindows C++¿ª·¢Òìͬ


1) Ê¹ÓõĿⲻͬ¡£windowsÏÂͼÐοª·¢Ò»°ãÓÃ΢ÈíµÄMFC»ò.net¿â£¬¶øLinuxÏÂÔò³£ÓÃqt¿â¡£C/C++ͨÓÿ⣨c¿â£¬STL¿â£©µÄ½Ó¿ÚÏàͬ£¬µ«ÄÚ²¿ÊµÏÖ²»Í¬¡£
2) ±àÒëÆ÷²»Í¬¡£windowsÏÂÓõÄÊÇ΢Èí±àÒëÆ÷VC»ò.net£¬¶øLinuxÏÂÔòÓÃgcc¡£
3) ¿ª·¢»·¾³²»Í¬¡£windowsµÄ±àÒëÆ÷×Ô¶¯Éú³Émakefile£¬¶øLinuxÔòÐèÒªÊÖ¶¯±àдmakefile£¬µ«×ÔÓɶȺܸߡ£
4) µ÷ÊÔ·½·¨²»Í¬¡£windows¾ß±¸·á¸»µÄUIµ÷ÊÔ½çÃæºÍ·½·¨£¬¶øLinuxÏÂͨ³£Ê¹ÓÃGDBµ÷ÊÔ£¬¼´ÃüÁîÐÐģʽµ÷ÊÔ¡£µ«ÓÉÓÚGDB¶Ô¶àÏ̵߳÷ÊÔµÄÄÜÁ¦Ò»°ã£¬ËùÒÔҲͨ³£Ê¹ÓÃÊä³ötraceµÄ·½·¨µ÷ÊÔ¡£
5) ¿ª·¢×ÔÓɶȲ»Í¬¡£ÓÉÓÚLinuxÊÇ¿ªÔ´Èí¼þ£¬¿ª·¢ÈËÔ±¿ÉÒÔ°´ÕÕ×Ô¼ºµÄÐèÒªÐÞ¸Äkernel»òÕßdriver¡£
6) Îļþϵͳ²»Í¬¡£Îļþ·Ö¸î·û²»Í¬£¬Îı¾ÎļþµÄ»»Ðзû²»Í¬µÈ¡£


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

LinuxÉãÏñÍ·±à³ÌС½á

ת×Ô£ºhttp://blog.chinaunix.net/u/7547/showart_122619.html
1.open device:
      video_dev = open("\dev\video0",O_RDWR));
2.get the information of the video device
    struct video_capability video_cap;
    memset(&video_cap,0,sizeof(vid ......

LinuxϵͳÐÔÄÜÖ¸±ê½éÉÜ


LinuxϵͳÐÔÄÜÖ¸±ê½éÉÜ
 
 
ת×ÔAndrew(http://andrew913.javaeye.com/blog/431259)
ÔÚ
ÎÒÃǽéÉÜLinuxϵͳµÄ¸÷ÖÖµ÷ÓŲÎÊýºÍÐÔÄܼà²â¹¤¾ß֮ǰ£¬ÐèÒªÏÈÌÖÂÛһЩ¹ØÓÚÐÔÄܵ÷ÓŵIJÎÊý¡£ÒòΪLinuxÊÇÒ»¸ö¿ªÔ´²Ù×÷ϵͳ£¬ËùÒÔÓÖ´óÁ¿¿ÉÓõÄÐÔÄÜ
¼à²â¹¤¾ß¡£¶ÔÕâЩ¹¤¾ßµÄÑ¡ÔñÈ¡¾öÓÚÄãµÄ¸öÈËϲºÃºÍ¶ÔÊý¾Ýϸ½ÚµÄÒªÇó¡£Ë ......

linux ϲ鿴һ¸ö½ø³ÌÔËÐз¾¶µÄ·½·¨

ÔÚlinuxϲ鿴½ø³Ì´ó¼Ò¶¼»áÏëµ½Óà ps -ef|grep XXX
¿ÉÊÇ¿´µ½µÄ²»ÊÇȫ·¾¶£¬Ôõô¿´È«Â·¾¶ÄØ£¿
ÿ¸ö½ø³ÌÆô¶¯Ö®ºóÔÚ /procÏÂÃæÓÐÒ»¸öÓÚpid¶ÔÓ¦µÄ·¾¶
ÀýÈ磺ps -ef|grep python
ÏÔʾ£ºoracle    4431  4366  0 18:56 pts/2    00:00:00 python Server.py
4431¾ÍÊǽø³ÌºÅ
µ½/pro ......

Linux ÏîÄ¿¹ÜÀíÈí¼þ£¨svn & git¡­¡­£©´úÀíÉèÖÃ

1.svn:
~$ vi ~/.subversion/servers
[global]
http-proxy-host = xxx.xxx.xxx.xxx
http-proxy-port = xxxx
2.git
~$ wget http://www.meadowy.org/~gotoh/ssh/connect.c
~$ gcc -o connect connect.c
~$ sudo cp connect /usr/local/bin
~$ sudo vi /usr/local/bin/http-proxy-gw
#!/bin/sh
/usr/local/bin/con ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ