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
阅读全文
摘要:sstream 使用,注意clear 和 str("") #include <iostream> #include <sstream> #include <string> using namespace std; int main() { stringstream ss; ss.put('a');
阅读全文