Cר¼Ò±à³Ì¾«±àÖ®Ò»
Cר¼Ò±à³Ì ¾«±àÖ®Ò» µÚÒ»ÕÂ~µÚÈýÕÂ
CµÄ¸´ÔÓÖ®´¦ ÔÚÓÚËüµÄÖ¸Õë ,µ«ÊDZÈÆäÖ¸Õë¸üΪ¸´ÔÓµÄÊÇËüµÄÉùÃ÷ !!!
ÄãÄÜ¿´¶®ËüÃǵÄÒâ˼ Âð?
apple=sizeof(int)*p ; apple=sizeof * p;
j= (char (*)[20])malloc(20);
int const * grape; Óë int * const grape; µÄÇø±ð
typedef void (*ptr_to_func)(int);
void (*signal(int sig,void (*func)(int )))(int );
¼¸¸öÑùÀý:
Ò»:char *a; const char *b; a=b;//³öÏÖ¾¯¸æ. why?
¶þ: const int two =2;
switch(i)
{
case 1:printf("case 1 ! \n");
case two :printf("case 2\n");
}
±àÒë³ö´í,˵Ã÷ÁË.....?
Èý:switch(){..}ÖÐ°Ñ default¸Ä³É defau1t (ÎÞÐÄÖ®¹ý,»òÆäËü±êÇ©Èçdefavlt,dafault..)¶¼±àÒëͨ¹ý . why?
ËÄ: apple=sizeof(int)*p ; apple=sizeof * p; //ÊÇʲôÒâ˼? ÁíÍâ, y=sizeof x; ÄܱàÒëͨ¹ýÂð?
Îå: j= (char (*)[20])malloc(20); //ÔõôÑù?
Áù: result=*x/*y ; //³ö´í?why ?
z=y+++x; ¼´Îª: z=y++ +x; µ«z=y+ + +x; &n
Ïà¹ØÎĵµ£º
ÔÚʹÓûص÷º¯ÊýÖУ¬ÍùÍù»áÉèÖÃÒ»¸öÖ¸Ïòº¯ÊýµÄÖ¸Õ룬ÄÇΪʲô²»Ö±½Ó½«º¯ÊýÃû×÷Ϊ²ÎÊý´«µÝÄØ£¿
ÔÒòÊÇ£ºÔÚCÓïÑÔÖк¯Êý±¾Éí²»ÊDZäÁ¿£¬µ«ÊÇ¿ÉÒÔ¶¨ÒåÖ¸Ïòº¯ÊýµÄÖ¸Õë¡£ÕâÖÖÀàÐ͵ÄÖ¸Õë¿ÉÒÔ±»¸³Öµ¡¢´æ·ÅÔÚÊý×éÖС¢´«µÝ¸øº¯ÊýÒÔ¼°×÷Ϊº¯ÊýµÄ·µ»ØÖµ£¬
ÏÂÃæÊÇÎÒÔÚÍøÉÏÕÒµ½µÄÒ»¸ö¹ØÓڻص÷º¯ÊýµÄСÀý×Ó£¨¶ÔÔÎĵÄÀý×ÓÓÐËùÐ޸ģ©
ÔÎÄÁ ......
jjhou.csdn.netÀïÃæÓÐ
--------------------------------------------------------------------------------
ÔÚ console mode ÖÐʹÓà C/C++ ±àÒëÆ÷
ºî½Ý 1999.04.08
......
1¡¢±àдһ¸ö²¼¶ûº¯Êýint is_leap_year(int year)£¬ÅжϲÎÊýyearÊDz»ÊÇÈòÄê¡£Èç¹ûijÄê·ÝÄܱ»4Õû³ý£¬µ«²»Äܱ»100Õû³ý£¬ÄÇôÕâÒ»Äê¾ÍÊÇÈòÄ꣬´ËÍ⣬Äܱ»400Õû³ýµÄÄê·ÝÒ²ÊÇÈòÄê¡£
#include <stdio.h>
int is_leap_year(int);
int main(){
int i,j;
printf("please input a number:");
scanf("%d",& ......
- ¼ÓÈë²ËÄñѧϰÍø£¬»ñµÃÕä²Ø×ÊÔ´
Java´úÂë Êý¾ÝÍÚ¾òÖоö²ßÊ÷C4.5Ô¤²âË㷨ʵÏÖ(°ë³ÉÆ·£¬»¹ÒªÐ´¹æÔòºó¼ôÖ¦¼°¶Ô·ÇÀëÉ¢Êý¾ÝÐÅÏ¢ÔöÒæ¼ÆËã) Java´úÂë package org.struct.decisiontree; import java.util.ArrayList; import java.util.Arrays; ......
ʹÓà gperf ʵÏÖ¸ßЧµÄ C/C++ ÃüÁîÐд¦Àí
GNU ÍêÃÀ£¨gperf£©É¢Áк¯ÊýÉú³ÉÆ÷¼ò»¯¸´ÔÓµÄÊäÈë×Ö·û´®
ÎĵµÑ¡Ïî
¼¶±ð£º Öм¶
Arpan Sen
(arpan@syncad.com
), ¼¼ÊõÖ÷¹Ü, Synapti Computer Aided Design Pvt Ltd
2007 Äê 9 ÔÂ 10 ÈÕ
GNU µÄ gperf ¹¤¾ßÊÇÒ»ÖÖ “ÍêÃÀµÄ” É¢Áк¯Êý£¬¿ÉÒÔΪÓû§ÌṩµÄÒ»×éÌØ ......