Linux C + + Training
Linux C + + Training
Syllabus
________________________________________
1, Linux Operating System
System Environment: Ubuntu GNU / Linux, RedHat Linux AS5,
FreeBSD
Course Requirements: proficient use of commonly used Linux
/ UNIX commands.
Time: 1 week.
________________________________________
2, Linux C + + development environment to build, develop
the use of tools
Related content: vi, GCC, GDB, Make, CVS, Subversion,
Eclipse CDT
Course requirements:
Skilled use of vi text
editor;
Skilled use of GCC tool chain for compiling, debugging,
build an executable file or shared library / static library;
Skilled preparation of Makefile;
Skilled configuration, using two kinds of CVS and
Subversion version control tool;
Skilled configuration, use the Eclipse CDT development
tools.
Time: 1 week
________________________________________
3, C + + language
C + + is a
multi-paradigm programming language, compared with C, Java, C # language such
as C Department of complex high, but once comprehend the essence of C + +, you
can play a powerful C + + language, the power, in order to enable trainees to
master C + + language programming techniques We
see this part of the program is divided into five parts:
Process-Oriented Programming: Core C + +
Dealing with technology: C + + basics: types and
declarations, pointers and arrays, expressions and statements, functions,
namespaces, exceptions, code files organization
Course requirements: a solid grasp the basic knowledge of
C + +.
Time: 1.5 weeks.
Object-oriented programming: encapsulation, inheritance
and polymorphism (encapsulation, inherit & Polymorphism)
Related to technology: class design, operator overloading,
inheritance and polymorphism.
Course requirements: a
correct understanding of object-oriented concepts, object-oriented way of
thinking and methods of building software, the correct design and use of
clas
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
ÁÖÄÉ˹·ÍÐÍß×È
¡¡¡¡
ÁÖÄÉ˹·±¾ÄɵڿËÌØ·ÍÐÍß×È(Linus Benedict Torvalds, 1969Äê~ )£¬µ±½ñÊÀ½ç×îÖøÃûµÄµçÄÔ³ÌÐòÔ±£¨³Ìʽʦ£©¡¢ºÚ¿Í£¨º§¿Í£©¡£LinuxÄں˵ķ¢Ã÷È˼°¸Ã¼Æ»®µÄºÏ×÷Õß¡£ÍÐÍß×ÈÀûÓøöÈËʱ¼ä¼°Æ÷²Ä´´Ôì³öÁËÕâÌ×µ±½ñÈ«Çò×îÁ÷ÐеIJÙ×÷ϵͳ£¨×÷ҵϵͳ£©ÄÚºËÖ®Ò»¡£
¡¡¡¡ÍÐÍß×È1969Äê12ÔÂ28È ......
Ö¸ÁîÃû³Æ : chown
ʹÓÃȨÏÞ : root
ʹÓ÷½Ê½ :
chown [-cfhvR] [--version] user[:group] file...
˵Ã÷ : ÀûÓà chown ¿ÉÒÔ½«µµ°¸µÄÓµÓÐÕß¼ÓÒԸı䡣Õâ¸öÖ¸ÁîÖ»ÓÐÊÇÓÉϵͳ¹ÜÀíÕß(root)ËùʹÓã¬Ò»°ãʹÓÃÕßûÓÐȨÏÞ¿ÉÒԸıä±ðÈ˵ĵµ°¸ÓµÓÐÕߣ¬Ò²Ã»ÓÐȨÏÞ¿ÉÒÔ×Ô¼ºµÄµµ°¸ÓµÓÐÕ߸ÄÉèΪ±ðÈË¡£Ö»ÓÐϵͳ¹ÜÀíÕß(root)²ÅÓÐÕâÑù ......
linuxÄÚºËinit½ø³Ìº¯ÊýµÄ²¿·Ö´úÂëÈçÏ£º 01 if (execute_command)
02 run_init_process(execute_command);
03
04 run_init_process("/sbin/init");
05 run_init_process("/etc/init");
06 run_init_process("/bin/init");
07 run_init_process("/ ......