摘要:
#include <iostream>using namespace std; //指针 if (1) { int a = 10; int b = 20; const int* pi = &a; pi = &b; //const指针可以修改指针,不能修改指向的数据 //*pi = 25; //错误 阅读全文
posted @ 2023-06-20 17:19
冥府骑士格斯
阅读(11)
评论(0)
推荐(0)
摘要:
#include <iostream> #include <sstream> using namespace std; if (1) { int i; stringstream ss_stream; //注意:如果做多次数据转换;必须调用clear()来设置转换模式 ss_stream << "45 阅读全文
posted @ 2023-06-20 17:12
冥府骑士格斯
阅读(19)
评论(0)
推荐(0)

浙公网安备 33010602011771号