Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++入门笔记(3) | 瑜璟博客 #38

Open
yujingsea opened this issue Feb 10, 2022 · 0 comments
Open

C++入门笔记(3) | 瑜璟博客 #38

yujingsea opened this issue Feb 10, 2022 · 0 comments

Comments

@yujingsea
Copy link
Owner

https://yujingsea.github.io/2022/02/10/34/

前言由于开学在即,竞赛也不远了,可我的算法却没学多少,所以我打算先整理stl string 类string 类是模板类,可以当作char的替代品,使用string类要包含头文件< string > string对象的三种初始化方式: 123string s1("Hello"); string month = "March"; //要以字符串的形势初始化string s2(8,’x’);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant