????????????????

????C++????????????????????????????м????ζ?? “?????” ?????????μ??????????

????C++????????????????

????1???????????????????????????????????????????

????2???????????????????????????軀?????????

???????????????

????1??????????????????£?????????

????2????????????“???”

????3?????ò?????????????????????????????????? ????????????????????к????

????4????????“??????”??????“???”

????5?????????????????????????????????

????6??????????????????????????????????????new???????????????

??????????const???????????й????????????????

????static const double a;       //???double????????!

????const double ????::a=1.04;   //????????!

????T& operator[](int index); //???????????????????????д

????const T& operator[](int index)const;  //?????????????????????????д

???????????????????????????????????

??????1?????????????????????????????????????????????????

??????2??????????????????????????????

???????C++??C???Щ????

????C??struct??C++??struct??????

????C++??struct???????class????????????class?е????????private????struct????????public??

????C?е?struct??????Щ??????????壬?????????????????????????????????????????????

????C?е?Struct???????????????????UDT????C++?е?Struct??????????????ADT?????????????????塣

????C++????????????p????NULL????delete p?????κ????顣

????delete p ?????????????????????????????????????檔

????delete p???????operator delete(void*)????delete[] p???????operator delete[](void*)??

????static ????????????????????

??????1??????????static?????????÷?Χ??ú????壬?????auto?????????????????????????Σ? ?????????′ε???????????ε????

??????2??????????static???????????????????ú?????????????????????????????????

??????3??????????static?????????????????????????????????????????÷?Χ??????????????????????

??????4???????е?static?????????????????????У?????????ж??????????????

??????5???????е?static?????????????????????У??????????????this???????????????static?????????

????const ????????????????????

??????1??????????????????????????const????????????const????????????????????г??????????????л??????????????

??????2?????????????????????????const??????????????????????? const?????????? ???const??

??????3????????????????У?const?????????βΣ????????????????????????????????????????

??????4?????????????????????????const???????????????????????????????????????????

??????5??????????????????????????????????const??????????????????“???”??

??????????????????????