摘要: #include<iostream> #include<string> #include <string.h> using namespace std; int main(){ char buf[2]; strcpy(buf,"hello world"); cout<<buf<<endl; } 运行 阅读全文
posted @ 2025-06-30 16:03 f-52Hertz 阅读(11) 评论(0) 推荐(0)