-
系統(tǒng)自動(dòng)生成的函數(shù)查看全部
-
構(gòu)造函數(shù)查看全部
-
初始化列表特性查看全部
-
淺顯易懂,非常感謝老師的無私講解。查看全部
-
堆中實(shí)例化對(duì)象: 類名 *p=new 類名()或new 類名【num】查看全部
-
初始化列表必須跟在構(gòu)造函數(shù)之后查看全部
-
如果類中有const成員則必須使用初始化列表來給其賦值查看全部
-
如果沒有構(gòu)造函數(shù) 那么類中的成員變量會(huì)出現(xiàn)不確定的情況,查看全部
-
訪問對(duì)象中的成員,左邊是從棧中實(shí)例化的對(duì)象,右邊是從堆中實(shí)例化的對(duì)象查看全部
-
好了。查看全部
-
string s = "hello" + "world"; //this line is wrong. 這種方式是非法的方式查看全部
-
string s = "hello" + "world"; //this line is wrong. 這種方式是非法的方式查看全部
-
封裝:對(duì)數(shù)據(jù)的操作都通過函數(shù)來完成;查看全部
-
\(^o^)/YES! OK查看全部
-
string s = "hello" + "world"; //this line is wrong. 這種方式是非法的方式查看全部
舉報(bào)
0/150
提交
取消