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

Objective C ¿ìËÙÈëÃÅÊ«

CûÓÐÀà
ÕâÈÃÈ˺ÜÆ£±¹
¶ÔÏóµÄ˵·¨ºÜʱ÷Ö
²»¾ÍÊǼ̳зâ×°×éºÏÈËÈË»á
ÓÒ×ßÊÇC++£¬Õâ¸ö´óÖÚ¶¼ÊìϤËü
×ó×ß¾ÍÊÇobjective-c£¬¶ãÔÚƧ¾²Æ§¾²µÄÂó½ðËþ
±¾ÊÇͬ¸ùÉúµÄC
ÈçºÎ¸ß¾ÙÃæÏò¶ÔÏóµÄ´óÆì
Çóͬ´æÒì±êÐÂÁ¢ÒìÇÒÌýһһϸ·ÖÇå
¶ÔÏóµÄC
ÊDz»Í¬µÄC
ÀàµÄ´¦ÀíÓëÖÚ²»Í¬ÖصãÒªÇø·Ö
²»Öظ´ÊÇÎҵĿÚÍ·ìø
ÈκÎʱºòÎÒֻ˵һ´Î¸æËßÄãÎҵĵØÅÌ
[@begincommand] | @end¾ÍÊÇÎÒµÄָʾ
@interface classname  ÉùÃ÷Àà
@implementation classname  ʵÏÖÀà
@protocol interfacename  ÉùÃ÷½Ó¿Ú
¾ÍÊÇÕâô¼òµ¥£¬ÄãµÄÒ»¶¨ÒªÃ÷°×
ÎÒÏÈÉùÃ÷¶Ô³ÉÔ±±äÁ¿ºÍ·½·¨µÄ¹ØϵÓÐÔ¶½ü
³ÉÔ±±äÁ¿´ó´óÀ¨ÔÚÎҵĻ³
¹ØϵԶ½ü public / protected / private À´Çø·Ö
Èô²»ÉùÃ÷ȫĬĬÊÜ×ű£»¤
¾²Ì¬³ÉÔ±±äÁ¿Çë²»Òª·ÅÔÚ´Ë
³ÉÔ±·½·¨ÎÒ²»Ì«°®
Ç°ÃæË©×ÅÉþ×ÓÖÃÓÚÀàµÄ±äÁ¿ÁбíÍâ
¼õºÅ¾ÍÊÇÆÕͨº¯Êý
¼ÓºÅ¾ÍÊǾ²Ì¬º¯ÊýĪ¹Ö
º¯ÊýµÄÉùÃ÷Óеã¹Ö
ÎÒÒªÒ»Ñ۽гöÃû£¬°üÀ¨º¯ÊýÃûºÍ²ÎÊýÃû
ÆäÓàµÄÀàÐÍÀ¨ÆðÀ´£¬ÎÒÓпÕÔÙÀ´ÂýÂý¿´
º¯ÊýÃûºÍ²ÎÊýÃûÖ®¼äÓ㺷ָô¿ª
¶à¸ö²ÎÊýµÄº¯ÊýÄǾÍÊǸü¹Ö
¶ººÅÆäʵ²»ÊÇÎҵİ®
ºóÐøµÄÿ¸ö²ÎÊý·Ö¸ôÓÿհ×
ÿ¸ö²ÎÊýÐÎʽÈç ±êÇ©£º(²ÎÊýÀàÐÍ)²ÎÊýÃû
ÆäʵֻҪ°Ñº¯ÊýÃû¿´×÷ÊǵÚÒ»¸ö²ÎÊý±êÇ©
Äã¾ÍÄÜÁìÎòÆäÖеİÂÃî²¢ÔÚµ÷ÓÃʱϲ°®
³ÉÔ±·½·¨Ì«¶àÎÒ²ÅÀÁµÃÇø·ÖÇ×ÊèÔ¶½ü
ËüÃÇÒ»Âɶ¼Êǹ«Ö®ÓÚÖÚÒªºÃºÃµÄ¸É»î
Ë­Èô²»·þµ¨¸Ò³öÍ··¸ÉÏ
¾ÍÌß³öÍ·Îļþ´òÈëÀ乬ÓÀÊÀ²»ÄܶÃæÊÔÊÔ¿´
ËùÓеijÉÔ±·½·¨¶¼ÊÇÐ麯Êý
¸ÄÔòÖØÔØ£¬²»¸Ä¾Í¼Ì³Ð
²»ÓÃÈκαê¼ÇÇë·ÅÐÄ´óµ¨Ëæ±ãʹÓÃ
¶ÔÏóµÄÀ࣬Ôڼ̳вã´ÎÉÏ¿¼ÂDzÅÏÔµÃÖØÒª
ËùÓеÄÀà×îÖÕ¶¼¼Ì³ÐÓÚNSObject
ÒòΪËü¸øÄã´´½¨×Ô¼ºÉúÃüµÄ·½·¨
²»¼Ì³ÐÓÚNSObjectµÄÖ»ÄÜÊǽӿÚprotocol
ËüûÓгÉÔ±±äÁ¿Ö»Óз½·¨
ËüÖ»ÓÐÉùÃ÷²»ÓÃʵÏÖ
ÕâµãºÍjavaºÜÏàËÆ
µ±È»À໹ÓÐһЩ¾ø»î¿ÉÒÔÈÃÄ㿪¿ªÑÛ
¿ÉÒÔ¶¯Ì¬µÄÀ©³äÒ»¸öÀà ¶ø²»×ÜÊÇÓü̳Ð
@interface CClassA(Category)|@end
@implementation CClassA (Category)|@end
Ô´´úÂëÍâ°üº¬¸Ã ÀàµÄÍ·Îļþ
¾Í¿ÉÒÔʹÓøÃCategoryÖеķ½·¨
Ò²¿ÉÒÔ¶¯Ì¬µÄÌæ»»Ò»¸öÀà
µ«ÊÇÖ»ÏÞÓÚÓü̳ÐÀàÀ´Ìæ»»»ùÀ๦ÄÜ
[CInheritClass poseAsClass: [CBaseClass class]];
ÉùÃ÷Ö®ºóÓûùÀà´´½¨µÄ¶ÔÏóʵ¼ÊÉÏÐÐΪ¶¼ÊǼ̳ÐÀà
ËùÒÔÒ»¸öÀàµÄÍêÕûÉùÃ÷ÈçÏ£º
@interface CClassA(Category): CBaseClass<IA,IB...>
Àà±ð£¬»ùÀ࣬½Ó¿ÚÒ»Ò»¾ßÈ«
¼ÓÉϾ²Ì¬ Ð麯Êý
ËùÓÐÌØÐÔºÍC++¾ù¿É¶ÔÓ¦
ÔÙ¼ÓÉÏËù¶ÀÓеÄÌØÐÔ
ÕâÒ»ÌØÐÔ


Ïà¹ØÎĵµ£º

c c++

  C++ÓïÑÔ·½ÃæµÄÊé¼®
³õѧÕß½¨Òé°´ÒÔÏÂ˳ÐòÔĶÁ
 
¡¶C++ Primer¡·
ΪC++ÐÂÊÖ¶øд£¬Ò»±¾ “´ÓÈëÃŵ½¾«Í¨”µÄC++½Ì³Ì
Ëü²¢²»ÊʺÏÍêÈ«²»¶®C++µÄ³õѧÕߣ¬ÔÚÔĶÁÕâ±¾Êé֮ǰ£¬×îºÃÏÈÓÐÒ»µãC»òC++µÄ±³¾°ÖªÊ¶£¬»òÕßһЩÆäËûÓïÑԵıà³Ì¾­Ñé
Ê¡ÂÔÁËһЩ¸ß¼¶C++ÌØÐÔµÄÌÖÂÛ£¬µ«ÈÔÈ»¿ÉÒԳƵÃÉÏÊÇÆù½ñΪֹ×îÈ«Ã ......

ǶÈëʽLinuxµÄLCDÇý¶¯£¨FB @ s3c2410£©

CPU : ARM9 s3c2410 
LCD : ¹æ¸ñ²»Ã÷£¨Õâ¸öºÜÎÞÄΣ¬µ«ÊÇÎÒËùÖªµÀµÄÖ»ÓÐÒ»¸ö·Ö±æÂÊ£©
Ô´ÂëÐ޸ģº
/linux-2.6.30.4/arch/arm/mach-s3c2410/mach-smdk2410.c
        ÔÚÕâ¸öÎļþÖмÓÈëframebufferµÄ³õʼ»¯Êý¾Ý½á¹¹£¨¾ßÌåÊý¾Ý²ÎÕÕLCD¼¼ÊõÊֲᣩÈçÏ£º
#include <mach/fb.h> ......

[C/C++ Digestion] – ÖØÔزÙ×÷·û


[C/C++ Digestion] –
ÖØÔزÙ×÷·û
×÷Õߣº
Jason Lee @
http://blog.csdn.net/jasonblog
ÈÕÆÚ£º
2010-04-17
 
[1]
ÖØÔزÙ×÷·û
ÖØÔزÙ×÷·û´Ó´óµÄ·½ÃæÀ´½²¿ÉÒÔ·ÖΪÁ½Àࣺ×îºÃ»ò±ØÐë×÷ΪÀàµÄ³ÉÔ±º¯ÊýµÄ£¬ÒÔ¼°Ïà·´¡£¶ø¾ßÌåµØ½²£¬×îºÃ»ò±ØÐë×÷ΪÀàµÄ³ÉÔ±º¯ÊýµÄÓи³Öµ²Ù×÷·û
( = )
¡¢Ï±ê²Ù×÷·û
( [] ) ......

Ê·ÉÏ×î¼òµ¥ÔªµÄpro*c³ÌÐò

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
EXEC SQL include sqlca;
EXEC ORACLE OPTION (RELEASE_CURSOR = YES);
EXEC SQL BEGIN DECLARE SECTION;
       & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ