strcmp 函数,strcpy函数 ,strcat函数, strlen函数的使用

#include <iostream> #include<string.h> using namespace std; int main() { char str1[11],str2[11]; char str3[]="hello"; char str4[]="GoodBye"; strcpy(str1,str3); //调用strcpy函数,将s
相关文章
相关标签/搜索