会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xggx
博客园
首页
新随笔
联系
订阅
管理
2024年7月3日
C++字符串常用用法
摘要: 字符串 一、构造函数 char str[]; char *str; string str; // 空字符串 string str(s) // 将字符串s复制给str strcpy(str, s) // C语言形式 str和s类型均为char* string str(s, begin, len); /
阅读全文
posted @ 2024-07-03 16:56 xggx
阅读(42)
评论(0)
推荐(0)
公告