您的位置:首页 > 编程语言 > C语言/C++

C++字符串一个简单的拷贝

2016-08-08 10:45 393 查看
#include<stdio.h>

#include<string.h>

#include<conio.h>

int main()

{

 char temp[1024];

 strcpy(temp,"罗文");

 printf("temp is %s",temp);

 getch();

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: