課程
/后端開發(fā)
/C++
/C++遠(yuǎn)征之封裝篇(上)
老師,您好,PPT可以傳上來么
2015-07-21
源自:C++遠(yuǎn)征之封裝篇(上) 3-1
正在回答
class??student { public ?string?m_strName; ?int??m_iAge; ?} ?void?main() ?{ ?student?stu; ?stu.m_strName?=?"穆課網(wǎng)"; ?stu.m_iAge?=?3?; ?cout<<?stu.m_strName<<","<<stu.m_iAge<<endl; ?}
舉報(bào)
封裝--面向?qū)ο蟮幕?,本教程力求幫助小伙伴們即學(xué)即會(huì)
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2015-12-15