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

C »ã±à»ìºÏ±à³Ì

As is Known to us,the function Main is the entry point of all programs.Therefore, we are usually neglecting all that we don't do,which makes us not understanding it more clearly.Now there is a sample arm program which will provide something that opration system usually do.
asm:
    IMPORT main
    area test,CODE,READONLY
    ENTRY
    bl start
start
    bl main
C:
#define rGPBCON    (*(volatile unsigned *)0x56000010) //Port B control
#define rGPBDAT    (*(volatile unsigned *)0x56000014) //Port B data
#define rGPBUP     (*(volatile unsigned *)0x56000018) //Pull-up control B
int main(int argc, char *argv[])
{
 unsigned int temp = 0x0e;
 rGPBCON = 0x00555555;
 rGPBUP = 0xffff;
 rGPBDAT = 0XE1F; 
 return 0;
}
The code very sample,but it is very useful.


Ïà¹ØÎĵµ£º

C Öеı䳤Êý×é VLA

ż¶û¿´µ½ C Primer Plus Öн²µ½±ä³¤Êý×é(VLA)£¬ºÜÓÐÒâ˼¡£
×÷ÕßÔÚËûµÄ C Primer Plus ºÍ C++ Primer Plus ÀïÃ涼Ã÷È·Ö¸³ö£¬¶¨ÒåÊý×éʱÊý×éµÄÔªËظöÊý±ØÐëÊÇÕûÐͳ£Á¿£¬²»ÄÜÊDZäÁ¿¡£µ«ÊÇÔÚ C Õâ±¾ÊéÀï½²µ½±ä³¤Êý×é VLA£¬ÔÚ C++ ÄDZ¾ÀïÃæÓÖûÓÐÌá¡£²»ÖªµÀΪʲô£¿ÏëÀ´Ò»¶¨ÊÇ VLA ÓÃÆðÀ´ÓÐЩ²»Ì«Ã÷È·µÄµØ·½¡£
ÎÒÊÔ×ÅдÁ˸öС³ ......

LinuxÏÂCÓïÑÔ±à³Ì ÐźŴ¦Àíº¯Êý

Ç°ÑÔ:ÕâÒ»ÕÂÎÒÃÇÌÖÂÛÒ»ÏÂLinuxϵÄÐźŴ¦Àíº¯Êý. 
     LinuxϵÄÐźŴ¦Àíº¯Êý: 
1.ÐźŵIJúÉú 
2.ÐźŵĴ¦Àí 
3.ÆäËüÐźź¯Êý 
--------------------------------------------------------------------------------
Ò»¸öʵÀý 
1¡£ÐźŵIJúÉú  ......

CÁ¬½ÓPostgreSQLʾÀý

²Î¿´www.pgsqldb.orgÍøÕ¾ÉϵÄÎĵµ/¿Í»§¶Ë±à³Ì  
  ÐèÒªÁ´½Ólibpq¿â,Ó¦°üº¬Í·Îļþinclude/libpq-fe.h  
  ·¾¶Òª¿´Äã¾ßÌ彫postgresql°²×°ÔÚÄÄÀïÀ²  
  ¸øÄãÒ»¸ö¾ßÌåÀý×Ó°É(´Ówww.pgsqldb.orgÉÏcopyµÄ)!!!  
   
   
&nb ......

Ubuntu£¨Linux£©Ê¹ÓÃEclipse´î½¨C/C++±àÒë»·¾³

ÕâÁ½Ì죬¸ø×Ô¼ºµçÄÔŪÁË˫ϵͳ£¬³ýÁËÔ­À´µÄWindows 7ϵͳÍ⣬װÉÏÁËLinuxϵͳ£¬Ê¹Óõİ汾ÊÇUbuntu
£¨µã
»÷¿Éµ½ÏàÓ¦µÄÏÂÔØÒ³Ã棩¡£¿ªÊ¼ÎÒ×°µÄLinux°æ±¾ÊÇfedora9£¬¶ÔÓÚÒ»¸ö¸ù±¾Ã»½Ó´¥¹ýLinuxϵͳµÄÈ˶øÑÔ£¬Ê¹ÓÃfedora£¬¼òÖ±ÈÃÈ˱ÀÀ£¡£¸ü
±ÀÀ£µÄÊÇ£¬ÎÒÓõÄÓ¢Îİ档ûµÄ°ì·¨£¬ÓÖÖØÐÂÏÂÔØLinux£¬¿Ìµú¡£×°ÏµÍ³¡£×°ÏµÍ³µÄʱºò ......

C µÄ¿ªÊ¼

    C µÄ¿ªÊ¼
 
    2010Äê2ÔÂ10ÈÕ£¬
    ¿ªÊ¼ÔĶÁ¼ÒÀïÓйØ"CÓïÑÔ"µÄ¸÷ÖÖ×ÊÁÏ¡£
    ʹÓà TurboC2.0£¬Å¼¶û¿ÉÄÜÒ²»áÓõ½ Microsoft Visual C++ 6.0¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ