Effective C++ ????
???????????? ???????[ 2012/12/7 10:45:29 ] ????????
???????c++???????
???????c???????c++?????????c++?·???????β?????????????????????????????????Σ?
if ( a > b ) {
// int temp = a; // swap a and b
// a = b;
// b = temp;
}
???????????????????????????????顣???????????????д??δ????????????ú???????????????д???????????????????????????c++???????????????????????????????????????????????????c??????????????????
if ( a > b ) {
/* int temp = a; /* swap a and b */
a = b;
b = temp;
*/
}
??????????????????????????????????????????????????????????????????
????c???????????????????????????磬??????c??c++??????????????????????????????????????????п??????t?????c++????????
?????????????????Щ???????cд?????????????????c++????????????????????????????????鯔??????????????
#define light_speedp 3e8 // m/sec (in a vacuum)
????????????c++?????????????????β?????????????????????????????????1?????????????????????????????????????峣?????
??????

???·???
??????????????????
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