֪ Ŀ 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ָ
 
 

Cstrcpy()
89
1  
 

strcpy(destinationsource)Դַ(source)ƵĿ(destination)ַС

ʹʾ

һԴļstring_strcpy.cʾ -

#include <stdio.h>
void main()
{
char ch[20] = { 'u', 'm', 'l', '.', 'o', 'r', 'g', '.', 'c', 'n', '\0' };
char ch2[20];
strcpy(ch2, ch);
printf("Value of second string is: %s \n", ch2);
}

ִʾ룬õ½ -

Value of second string is: uml.ogr.cn

 

 

 


Ծ֧ǵĹҵ

10Ԫ 50Ԫ





֤룺 ֤,?ˢ֤



89
1
 
 

ÿ2ĵ/Ƶ
ɨ΢Ŷά붩
ļ¿
ÿ300Դ
 
 

| ϵ | ICP10020922 110108001071