֪ Ŀ Lib Ƶ iProcess γ ֤ ѯ Modeler   Code  
Ա   
Ҫ
 
׷漼

ʱ
ÿ쿴
 

CԽ̳
CVSװ
CԵһ
CԳִ
Cprintf()scanf()
C
CԹؼ
C
CԿ
Cif-else
Cswitch
Cdo-whileѭ
Cwhileѭ
Cforѭ
Cbreak
Ccontinue
Cgoto
Cֵͨú
CԵݹ
CԴ洢
C
C
CԶά
CԽ鴫ݸ
Cָָ
Cgets()puts()
Cstrlen()
Cstrcpy()
Cstrcat()
Cstrcmp()
Cstrrev()
Cstrlwr()
Cstrupr()
CԽṹ
CԽṹ
CԽṹǶ
C
ļ
Cfprintf()fscanf()
Cfputc()fgetc()
Cfputs()fgets()
Cfseek()
Crewind()
Cftell()
Ԥ
CԤָ
C#includeָ
C#defineָ
C#undefָ
C#ifdefָ
C#ifndefָ
C#ifָ
C#errorָ
C#pragmaָ
 
 

C#defineָ
85
2  
 

#defineԤָڶ峣΢ʹκλ͡

#define token value

һʹ#defineһӡ

#include <stdio.h>
#define PI 3.14
void main() {
printf("%f",PI);
}

ִ룬õ½ -

3.140000

һ#defineһӡ

#include <stdio.h>
#define MIN(a,b) ((a)<(b)?(a):(b))
void main() {
printf("Minimum between 10 and 20 is: %d\n", MIN(10,20));
}

 

ִ룬õ½ -

Minimum between 10 and 20 is: 10


Ծ֧ǵĹҵ

10Ԫ 50Ԫ





֤룺 ֤,?ˢ֤



85
2