±àд¿ÉÒÆÖ²C/C++³ÌÐòÒªµã
1.·Ö²ãÉè¼Æ£¬¸ôÀëƽ̨Ïà¹ØµÄ´úÂë¡£¾ÍÏñ¿É²âÊÔÐÔÒ»Ñù£¬¿ÉÒÆÖ²ÐÔÒ²Òª´ÓÉè¼Æ×¥Æð¡£Ò»°ãÀ´Ëµ£¬×îÉϲãºÍ×îϲ㶼²»¾ßÓÐÁ¼ºÃµÄ¿ÉÒÆÖ²ÐÔ¡£×îÉϲãÊÇ
GUI£¬´ó¶àÊýGUI¶¼²»ÊÇ¿çƽ̨µÄ£¬ÈçWin32 SDKºÍMFC¡£×îϲãÊDzÙ×÷ϵͳAPI£¬´ó¶à²¿·Ö²Ù×÷ϵͳAPI¶¼ÊÇרÓõġ£
¡¡¡¡
Èç¹ûÕâÁ½²ãµÄ´úÂëÉ¢²¼ÔÚÕû¸öÈí¼þÖУ¬ÄÇôÕâ¸öÈí¼þµÄ¿ÉÖ²ÐÔ½«·Ç³£µÄ²î£¬ÕâÊDz»ÑÔ×ÔÃ÷µÄ¡£ÄÇôÈçºÎ±ÜÃâÕâÖÖÇé¿öÄØ£¿µ±È»ÊÇ·Ö²ãÉè¼ÆÁË£º
¡¡¡¡
×îµ×²ã²ÉÓÃAdapterģʽ£¬°Ñ²»Í¬²Ù×÷ϵͳµÄAPI·â×°³ÉÒ»Ì×ͳһµÄ½Ó¿Ú¡£ÖÁÓÚ·â×°³ÉÀ໹ÊÇ·â×°³Éº¯Êý£¬Òª¿´Äã²ÉÓõÄC»¹ÊÇC++дµÄ³ÌÐòÁË¡£Õâ¿´Æð
À´ºÜ¼òµ¥£¬Æäʵ²»¾¡È»£¨¿´ÍêÕûƪÎÄÕºóÄã»áÃ÷°×µÄ£©£¬Ëü½«ºÄÈ¥Äã´óÁ¿µÄʱ¼äÈ¥±àд´úÂ룬ȥ²âÊÔËüÃÇ¡£²ÉÓÃÏÖ´æµÄ³ÌÐò¿â£¬ÊÇÃ÷ÖǵÄ×ö·¨£¬ÓкܶàÕâÑùµÄ¿â£¬±È
È磬C¿âÓÐglib£¨GNOMEµÄ»ù´¡Àࣩ£¬C++¿âÓÐACE(ADAPTIVE Communication
Environment)µÈµÈ£¬ÔÚ¿ª·¢µÚÒ»¸öƽ̨ʱ¾Í²ÉÓÃÕâЩ¿â£¬¿ÉÒÔ´ó´ó¼õÉÙÒÆÖ²µÄ¹¤×÷Á¿¡£
¡¡¡¡×îÉϲã²ÉÓÃMVCÄ£ÐÍ£¬·ÖÀë½çÃæ±íÏÖÓë
ÄÚ²¿Âß¼´úÂë¡£°Ñ´ó²¿·Ö´úÂë·Åµ½ÄÚ²¿Âß¼ÀïÃ棬½çÃæ½ö½öÊÇÏÔʾºÍ½ÓÊÕÊäÈ룬¼´Ê¹Òª»»Ò»Ì×GUI£¬¹¤×÷Á¿Ò²²»´ó¡£ÕâͬʱҲÊÇÌá¸ß¿É²âÊÔÐÔµÄÊÖ¶ÎÖ®Ò»£¬µ±È»»¹
ÓÐÆäËüһЩ¸½¼ÓºÃ´¦¡£ËùÒÔ¼´Ê¹Äã²ÉÓÃQT»òÕßGTK+µÈ¿çƽ̨µÄGUIÉè¼ÆÈí¼þ½çÃ棬·ÖÀë½çÃæ±íÏÖÓëÄÚ²¿Âß¼Ò²ÊǷdz£ÓÐÓõġ£
¡¡¡¡Èô×öµ½
ÁËÒÔÉÏÁ½µã£¬³ÌÐòµÄ¿ÉÒÆÖ²ÐÔ»ù±¾ÉÏÓб£ÕÏÁË£¬ÆäËüµÄÖ»ÊǼ¼Êõϸ½ÚÎÊÌâ¡£
¡¡¡¡2.ÊÂÏÈÊìϤ¸÷Ä¿±êƽ̨£¬ºÏÀí³éÏóµ×²ã¹¦ÄÜ¡£ÕâÒ»µãÊǽ¨Á¢ÔÚ·Ö
²ãÉè¼ÆÖ®Éϵģ¬´ó¶àÊýµ×²ãº¯Êý£¬ÏñÏ̡߳¢Í¬²½»úÖƺÍIPC»úÖƵȵȣ¬²»Í¬Æ½Ì¨ÌṩµÄº¯Êý£¬¼¸ºõÊÇÒ»Ò»¶ÔÓ¦µÄ£¬·â×°ÕâЩº¯ÊýºÜ¼òµ¥£¬ÊµÏÖAdapterµÄ¹¤
×÷¼¸ºõÖ»ÊÇÌåÁ¦»î¡£È»¶ø£¬¶ÔÓÚһЩ±È½ÏÌØÊâµÄÓ¦Óã¬ÈçͼÐÎ×é¼þ±¾Éí£¬¾ÍÄÃGTK+ À´Ëµ°É£¬»ùÓÚX
WindowµÄ¹¦ÄܺͻùÓÚWin32µÄ¹¦ÄÜ£¬Á½Õß²î¾à¾Þ´ó£¬³ýÁË´°¿Ú¡¢Ê¼þµÈ»ù±¾¸ÅÄîÍ⣬¼¸ºõûÓÐʲôÏàͬµÄ£¬Èç¹û²»ÊÂÏÈÁ˽â¸÷¸öƽ̨µÄÌØÐÔ£¬ÔÚÉè¼Æʱ¾Í
¾«ÐÄ¿¼ÂǵĻ°£¬³éÏó³öÀ´µÄ³é¿ÚÔÚÁíÍâÒ»¸öƽ̨¼¸ºõÎÞ·¨ÊµÏÖ¡£
¡¡¡¡3.¾¡Á¿Ê¹Óñê×¼C/C++º¯Êý¡£´ó¶àÊýƽ̨¶¼»áʵÏÖ
POSIX(Portable Operating System Interface)¹æ¶¨µÄº¯Êý£¬µ«ÕâЩº¯Êý½ÏÔÉú(Native)
º¯ÊýÀ´Ëµ£¬ÐÔÄÜÉϵıíÏÖ¿ÉÄܽϴÎһЩ£¬ÓÃÆðÀ´Ò²²»ÈçÔÉúº¯Êý·½±ã¡£µ«ÊÇ£¬×îºÃ²»ÒªÌ°Í¼ÕâÖÖ±ãÒ˶øʹÓÃÔÉúº¯Êýº¯Êý£¬·ñÔò°áÆðµÄʯͷ×îÖÕ»áÔþµ½×Ô¼ºµÄ½Å¡£±È
È磬Îļþ²Ù×÷¾ÍÓÃfopenÖ®ÀàµÄº¯Êý£¬¶ø²»ÒªÓÃCre
Ïà¹ØÎĵµ£º
1.±¾ÕÂ˼άµ¼Í¼£º
Example1:
char
*strcpy(char *target, const char *source) {
char *t = target;
// Copy the contents of source into target.
while(*source) *target++ = *source++;
// Null-terminate the
target.
*ta ......
1.ÏÂÔØlinux kernelÔ´´úÂë
µ½http://www.kernel.org/ÏÂÔØlinuxÄÚºËÔ´´úÂë,ÕâÀïÎÒÃÇʹÓÃ2.6.24.4µÄÄÚºË.
½âѹlinux-2.6.24.4.tar.bz2
[matt@localhost GEC2410]$ tar -xvjf linux-2.6.24.4.tar.bz2
[matt@localhost GEC2410]$ cd linux-2.6.24.4
2.ÐÞ¸ÄMakefile,ÉèÖý»²æ±àÒëÆ÷
ARCH ?= arm
CROSS_COMPILE ......
ÓÐЩÍøÓѾ³£Ñ¯ÎÊ£ºÔÚVC++ÖÐÈçºÎ·ÃÎÊjavascriptÖеĶÔÏ󡢺¯Êý¡¢±äÁ¿µÈÔªËØ£¿
ÕâÀï°ÑÒÔÇ°·¢±íµÄһϵÁÐÎÄÕ¼¯ÖÐÔÚÒ»Æ𣬷½±ã²éÔÄ¡£
vc++·ÃÎÊjavascript(1)--windowÔڽű¾ÒýÇæÖеÄ×÷ÓÃ
http://blog.csdn.net/pimshell/archive/2008/08/02/2758863.aspx
vc++·ÃÎÊjavascript(2)--IDispatchExÊǶ¯Ì¬½Å±¾ÓïÑԵĻù´¡&nb ......
1,³ÌÐò¿ØÖÆÖеĿØÖÆÁ÷Óï¾äÓÃÓÚ¿ØÖƸ÷¼ÆËã»ú²Ù×÷Ö´ÐеĴÎÐò¡£
ʲôÊÇ¿ØÖÆÁ÷Óï¾äÏëÁË°ëÌ죬ÔÀ´²»¹ýÊÇÕâЩ£¬if-elseÓï¾ä£¬else-ifÓï¾ä£¬switchÓï¾ä£¬whileÑ»·£¬forÑ»·£¬do-whileÑ»·µÈ¡£
2,»¨À¨ºÅ{}£¬ÆäÖеÄÓÒ»¨À¨ºÅÓÃÓÚ½áÊø³ÌÐò¿é£¬Æäºó²»ÐèÒª·ÖºÅ¡£
µ±³õÒ»¿´µ½“Æäºó²»ÐèÒª·ÖºÅµÄ”ʱºòÏëÁË°ëÌ ......