C语言学习第六天(库函数的查看与使用)ide
网址:http://www.cplusplus.com/ (C语言库函数查找&查看)函数
#define _CRT_SECURE_NO_WARNINGS学习
/* strcpy example */spa
#include <stdio.h>get
#include <string.h>string
int main()it
{io
char str1[] = "My name is Barry.xiang !";class
char str2[30];语言
char str3[30];
strcpy(str2, str1);
strcpy(str3, "I am come from Huaihua!");
printf("str1: %s\nstr2: %s\nstr3: %s\n", str1, str2, str3);
return 0;
}