摘要:        
const修饰字符指针 const修饰字符指针的三种情况 const char* p ; char const* p; char* const p; const出现在*p前面(第1,2两种情况) 表示对p来说p被解引用的内容不可改,即p指向的内容无法被修改 const 出现在字符指针前表示字符指针的    阅读全文
posted @ 2022-03-20 11:29
W-forever
阅读(70)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include<iostream> #include<string> #include<vector> #include<numeric> #include<list> #include<functional> using namespace std; /* 到目前为止,我们使用的对象都有严格的生    阅读全文
posted @ 2022-03-20 08:04
W-forever
阅读(59)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号