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

ÅжÏC?ÐÐ??¾³µÄ³ÌÐò

/*
**ÅжÏC?ÐÐ??¾³µÄ³ÌÐò
*/
/*
**¾²?³õʼ»¯
*/
int static_variable=5;
void
f()
{
 register int i1, i2, i3, i4, i5, i6, i7, i8, i9, i10;
 register char *c1, *c2, *c3, *c4, *c5, *c6, *c7 , *c8, *c9, *c10;
 extern int a_very_long_name_to_sec_how_long_they_can_be;
 double dbl;
 int func_ret_int();
 double func_ret_double();
 char *func_ret_char_ptr();
 
 /*
 **¼Ä´æÆ÷?Á¿µÄ×î´óÊýÁ¿
 */ 
 i1 = 1; i2 = 2; i3 = 3; i4 = 4; i5 = 5;
 i6 = 6; i7 = 7; i8 = 8; i9 = 9; i10 = 10;
 c1 = (char *)110; c2 = (char *)120;
 c3 = (char *)130; c4 = (char *)140;
 c5 = (char *)150; c6 = (char *)160;
 c7 = (char *)170; c8 = (char *)180;
 c9 = (char *)190; c10 = (char *)200;
 
 /*
 **ÍⲿÃû×Ö
 */
 a_very_long_name_to_sec_how_long_they_can_be = 1;
 
 /*
 **º¯Êý?ÓÃ/·µ»Ø??,¶Ñ??(?³Ì»î???)
 */
 i2 = func_ret_int(10,i1,i10);
 dbl = func_ret_double();
 c1 = func_ret_char_ptr(c1);
}
int
func_ret_int(int a, int b, register int c)
{
 int d;
 
 d = b - 6;
 return a + b + c; 
}
double
func_ret_double()
{
 return 3.14; 
}
char *
func_ret_char_ptr(char *cp)
{
 return cp + 1; 
}


Ïà¹ØÎĵµ£º

ÈçºÎʹÓ÷ºÐÍÄ£擬virtual? (C/C++) (template)

ÍøÉÏÒ»µÀ½ðɽµÄÃæÊÔÌ⣺
http://topic.csdn.net/u/20100524/14/0eff992a-2849-4db6-bdaa-d4a200e79b7c.html
Çë·Ö±ðÓÃC++µÄÃæÏò¶ÔÏóºÍ·ºÐÍ»úÖÆ£¬±àдʵÏÖTemplate MethodģʽµÄʾÀý´úÂ룬²¢±È½ÏÁ½ÖÖ·½Ê½¸÷×ÔµÄÓÅȱµã¡£
ÓÃÐ麯ÊýʵÏÖTemplate MethodµÄ·½Ê½¾Í²»¶à˵ÁË¡£Ó÷ºÐ͵ķ½Ê½ÊµÏÖ¶à̬ÔÚATLÀïÃæÓдóÁ¿µÄÓõ½£¡
·ºÐ͵ ......

C ÓïÑÔ malloc ºÍ freeº¯Êýdz̸

À´×Ôbccn CÓïÑÔÂÛ̳
Ê×ÏÈÉùÃ÷Ò»µã£¬±¾ÎÄΪתÌù¡£
dz̸CÖеÄmallocºÍfree
×÷Õߣºlj_860603    ÔĶÁÈ˴Σº43013    ÎÄÕÂÀ´Ô´£º±¾Õ¾Ô­´´    ·¢²¼Ê±¼ä£º2006-8-5    ÍøÓÑÆÀÂÛ(32)Ìõ
Ô­Ìû¼°ÌÖÂÛ£ºhttp://bbs.bccn.net/thread-82212-1-1.html
    ÔÚCÓïÑÔµÄѧϰÖУ¬¶ÔÄÚ ......

LinuxÏÂCÓïÑÔʵÏÖ×Ö·û´®×Ó´®Ìæ»»


    ÓÉÓÚLINUX
CûÓжÔ×Ö·û´®×Ó´®Ìæ»»¹¦ÄÜ,ËùÒÔÎÒ×Ô¼ºÐ´ÁËÒ»¸östr_replaceº¯Êý,ʵÏÖÁË×Ö·û´®Ìæ»».
Çë´ó¼Ò²Î¿¼.
/*
 * FUNCTION     : str_replace
 *
ABSTRACT     : replace child string in a string.
 *
PARAMETER  &nbs ......

C±ê×¼Ô¤¶¨Òåºê

ANSI C±ê×¼ÖÐÓм¸¸ö±ê×¼Ô¤¶¨Òåºê£º__FILE__     __DATE__   __TIME___    __LINE__   µÈ
__LINE__£ºÔÚÔ´´úÂëÖвåÈ뵱ǰԴ´úÂëÐкţ»
__FILE__£ºÔÚÔ´ÎļþÖвåÈ뵱ǰԴÎļþÃû£»
__DATE__£ºÔÚÔ´ÎļþÖвåÈ뵱ǰµÄ±àÒëÈÕÆÚ
__TIME__£ºÔÚÔ´ÎļþÖвåÈ뵱ǰ±àÒëʱ¼ä£» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ