由于水平原因,博客大部分内容摘抄于网络,如有错误或者侵权请指出,本人将尽快修改

11 2022 档案

摘要:c/c++中的输入输出 #include <iostream> using namespace std; int main() { //c语言中的输入输出 int a, b; scanf("%d%d",&a,&b); printf("%d\n",a+b); //c++中的输入输出 cin >> a 阅读全文
posted @ 2022-11-27 22:03 小纸条 阅读(76) 评论(0) 推荐(0) 编辑
摘要:sstream 使用,注意clear 和 str("") #include <iostream> #include <sstream> #include <string> using namespace std; int main() { stringstream ss; ss.put('a'); 阅读全文
posted @ 2022-11-25 21:49 小纸条 阅读(43) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示