C++????淶????????
???????????? ???????[ 2014/2/13 9:59:30 ] ????????C++ ????淶 ????淶 ?麯??
??????????????????淶???о???????а?????????????C++?淶?е???????????????Щ?????????????????????????????????????????????????????????????????С?
???????????????????
????????1???????m_?? g_?? s_??????????????????????????????
????????2?????????????????Сд???
????????3???????????Pascal??Сд???
????????
typedef int Line;
struct SavingsInformation
{
};
????????4??????????????????????????????Pascal??Сд???
????????
????COM/ATL?е?getter??setter??????????get_????put_?????
?????????????????????麯?????????????????????漲??
???????????????????????????麯????????????????????????????????????????????????????????漲??????????????д?????????????????????????????????
????????5???????????????????p?????????????????????????????????????????
?????ù???????????????????????淶??
???????磺
class CTest
{
// Member pointer
CObject *m_pObject;
...
};
void DoSomething()
{
// Local pointer
CObject *pObject = NULL;
...
}
????????6?? bool????????b?????
???????????5??
????????7?? ????????÷??????bool????????
????????????????????????
???????bool??????????bSuccessful????????bNotFailed??
????????8??????true????false???????????????????????????????
???????????????????????????????????????????????IsEmpty()??????Empty();
????????9??????????????????????
?????????????a??b??c??d?????????????
??????????飬????????ZhuDongFangYu?????????????????????????????????????????????????????????????????
????????10??????????д??
????????????????????????????????????????????Team???????????????????????const?????????????????????????????????????????????????????в?δ??????????????ú??壬????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11