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

pro*c±à¶Ô²½Öè

step one£º½«.pcÎļþÔ¤±àÒëΪ.c
    [ecif@localhost zyctest]$ proc sample1.pc
    ÏÔʾÐÅÏ¢£º
    Pro*C/C++: Release 10.2.0.1.0 - Production on Tue Apr 13 14:07:05 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    System default option values taken from: /home/oracle/oracle/product/10.2.0/db_1/precomp/admin /pcscfg.cfg
step two£º±àÒë.cÎļþ£¬Éú³ÉÄ¿±êÎļþ
    gcc -L$ORACLE_HOME/precomp/public -I/home/oracle/oracle/product/10.2.0/db_1/precomp   /public/ -c sample1.c
    Ìáʾ¾¯¸æ£º
    sample1.c: In function `main':
    sample1.c:236: warning: return type of 'main' is not `int'
step three£ºÁ´½ÓÄ¿±êÎļþ£¬Éú³É¿ÉÖ´ÐгÌÐò
   gcc -L$ORACLE_HOME/lib -lclntsh -o sample1 sample1.o
    ¾¯¸æ£º
    sample1.o(.text+0x381): In function `main':
    : warning: the `gets' function is dangerous and should not be used.
step four£ºÖ´ÐÐÎļþ
    ./sample1
ÔÚÖ´ÐÐ./samle1³öÏÖ£º
 error while loading shared libraries: /oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1: cannot restore segment prot after reloc: Permission denied
½â¾öµÄ°ì·¨ÊÇ£º
 chcon -t texrel_shlib_t   /oracle/product/10.2.0/db_1/lib/*.so


Ïà¹ØÎĵµ£º

Fedora Linux Ï°²×°ÅäÖÃC¿ª·¢»·¾³Code::Blocks


Ò»¡¢ÌáÇ°µÄ»°
¡¡¡¡ÒªËµCÓïÑÔºÍLinuxµÄ¹Øϵ´ó¼ÒÓ¦¸Ã¶¼²»»áÄ°Éú£¬LinuxϵͳÄں˾ÍÊÇÓÃCÓïÑÔ¿ª·¢µÄ£¬ËùÒÔËùÓеÄLinuxϵͳÏÂÃæ ¶¼»áÓÐCµÄ±àÒëµ÷ÊÔ¹¤¾ß£¬²»¹ýÕâЩ¹¤¾ß¶¼ÊÇÃüÁîʽµÄ£¬Õýʽ¿ª·¢µÄ»°»áºÜ²»·½±ã¡£FedoraÔÚ°²×°µÄʱºò¿ÉÒÔÑ¡Ôñ°²×°Fedora Eclipse£¬Õâ¸öIDEºÜÇ¿´ó£¬C£¬C++£¬Java£¬PythonµÈµÈ¶¼Ö§³Ö£¬¶øÇÒ±àÒ룬µ÷ÊÔºÍ ......

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++Ö¸Õë

ºÎΪָÕë £¿
¡¡¡¡Ö¸Õë»ù±¾ÉϺÍÆäËüµÄ±äÁ¿Ò»Ñù£¬Î¨Ò»µÄÒ»µã²»Í¬¾ÍÊÇÖ¸Õë²¢²»°üº¬Êµ¼ÊµÄÊý¾Ý£¬¶øÊÇ°üº¬ÁËÒ»¸öÖ¸ÏòÄÚ´æλÖõĵØÖ·£¬Äã¿ÉÒÔÔÚÕâ¸öµØÖ·ÕÒµ½Ä³Ð©ÐÅÏ¢¡£ÕâÊÇÒ»¸öºÜÖØÒªµÄ¸ÅÄ²¢ÇÒÐí¶à³ÌÐò»òÕß˼Ï붼Êǽ«Ö¸Õë×÷ΪËüÃǵÄÉè¼Æ»ù´¡£¬ÀýÈçÁ´±í¡£
¿ªÊ¼
¡¡¡¡ÈçºÎ¶¨ÒåÒ»¸öÖ¸Õ룿ßÀ£¬¾ÍÏñ¶¨ÒåÆäËüµÄ±äÁ¿Ò»Ñù£¬²»¹ýÄ㻹Р......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ