ANSI CÓ¦ÓóÌÐòÉè¼Æ
1£¬´«Öµµ÷ÓÃ
ÿ¸öʵ²Î¶¼ÊÇÒ»¸ö±í´ïʽ£¬¶¼ÓÐÒ»¸öÖµ¡£Í¨¹ý¸´ÖƱí´ïʽֵµÄ·½Ê½£¬½«Æä´æ´¢ÔÚÒ»¸öÁÙʱµ¥ÔªÖУ¬²¢°Ñ¶ÔÓ¦µÄÐÎʽ²ÎÊý×÷ΪÕâ¸öµ¥ÔªµÄ±êʶ·û¡£¸Ã´«µÝʵ²Î·½·¨±»³Æ×÷´«Öµµ÷Óá£call by value
2£¬Ô¤´¦ÀíÆ÷
±àÒëÆ÷°Ñ³ÌÐòת»»ÎªÄ¿±ê´úÂë֮ǰÏÈÓÉCÔ¤´¦ÀíÆ÷´¦ÀíÔ´Îļþ¡£
CÔ´´úÂë->Ô¤´¦ÀíÆ÷->±àÒëÆ÷
Ô¤´¦ÀíÆ÷Ö´ÐгÌÐòÔ±°²ÅŵÄÔ¤´¦ÀíÖ¸ÁÕâЩָÁîÒÔ#¿ªÍ·¡£
Ô¤´¦ÀíÃüÁî¿ÉÒÔ³öÏÖÔÚº¯Êý¶¨ÒåÀïÃ棬Ҳ¿ÉÒÔ³öÏÖÔÚº¯Êý¶¨ÒåÍâÃæ¡£
±ØÐëÀμǣ¬Ô¤´¦ÀíÆ÷½ö½ö°´×ÖÃæÒâÒåÖ´ÐÐÔ¤´¦ÀíÃüÁÆä²¢²»Çå³þCÓïÑÔµÄÓï·¨ºÍÓïÒå¡£
#include <stdio.h>
ÔÚ²Ù×÷ϵͳÒÑ֪Ŀ¼ÖÐÑ°ÕÒ¸ÃÎļþ£¬¿É°üº¬Èκαê׼ͷÎļþ£¬Ò²¿É°üº¬×Ô¼º±àдµÄÍ·Îļþ¡£±»°üº¬ÎļþµÄÎļþÃû¿ÉÒÔÊÇÈÎÒâµÄ¡£
#include "mydefs.h"
ÔÚ¹¤×÷Ŀ¼ÖÐÑ°ÕÒ±»°üº¬Îļþ
ÿ¸ö±ê×¼CÓïÑÔϵͳÌṩÈô¸É¸öº¯Êý¿â£¬Ò²ÌṩÈô¸É¸öÍ·Îļþ¡£ÕâЩͷÎļþʹÓû§¿ÉÒÔ·½±ãµØʹÓÃÉÏÊöº¯Êý¿â¡£
3£¬´ø²ÎÊýµÄºê
ÕâЩ²ÎÊýÏ൱ÓÚʵ¼Ê²ÎÊýµÄռλ·ûplaceholder
ºêµÄÃû×ÖºÍ×óÀ¨ºÅÖ®¼ä²»ÔÊÐíÓпոñ£¬ºêÃûºÍÀ¨ºÅÖ®ºóÊǺêÌå¡£Ô¤´¦ÀíÆ÷°Ñÿ´Î³öÏÖµÄÕâ¸öºê¶¼Ìæ»»³É¶ÔÓ¦µÄºêÌå¡£
Ïà¹ØÎĵµ£º
C/C++λ²Ù×÷
Ò»¡¢´«Í³µÄC·½Ê½Î»²Ù×÷£º
1.»ù±¾²Ù×÷£º
ʹÓÃÒ»¸öunsigned int±äÁ¿À´×÷ΪλÈÝÆ÷¡£
2.²Ù×÷·û£º
| °´Î»»ò²Ù×÷·û£ºresult=exp1|exp2;µ±exp1ºÍexp2ÖжÔӦλÖÐÖÁÉÙÓÐÒ»¸öΪ1ʱ£¬resultÖжÔӦλΪ1£¬·ñÔòΪ0¡£
& °´Î»Óë²Ù×÷·û£º£ºresult=exp1&exp2;µ±exp1ºÍexp2ÖжÔӦλȫΪ1ʱ ......
nokia wiki£ºhttp://developer.symbian.org/wiki/index.php/Open_C_and_Open_C%2B%2B_Technical_Overview/zh-hans
symbianÉÏ¿ª·¢opencʱÐèҪעÒâµÄÎÊÌâ
http://blog.csdn.net/sizhiguo/archive/2009/05/21/4206138.aspx
µÚÒ»£ºÈçprintf¡¢sprint¡¢Îļþ²Ù×÷¡¢socket²Ù×÷µÈ£¬Ä£ÄâÆ÷ÆÁÄ»¶¼»á³öÏÖ°×ÆÁµÈ´ý£¬²¢ÇÒÊÇÒ»Ö±ÏÂÈ¥¡£ ......
´´½¨Ð½ø³Ì£ºforkº¯Êý
1.1.1. forkº¯Êý¸Éʲô£¿
#include <sys/types.h>
#include <unistd.h>
pid_t fork(void);
‘fork()’º¯ÊýÓÃÓÚ´ÓÒÑ´æÔÚ½ø³ÌÖд´½¨Ò»¸öнø³Ì¡£Ð½ø³Ì³ÆΪ×Ó½ ......
Win32 Equivalents for C Run-Time Functions
ID: Q99456
The information in this article applies to:
Microsoft Win32 Application Programming Interface (API), included with:
Microsoft Windows NT, versions 3.1, 3.5, 3.51
Microsoft Windows 95
SUMMARY
Many of the C Run-time functions have ......