C++?е?????????
???????????? ???????[ 2014/12/29 11:41:30 ] ????????C++ ????? ????
????4.##?????
????##???????????????????????????????????##?????????????????????????????????
????#define NUM(a??b??c) a##b##c
????#define STR(a??b??c) a##b##c
????main()
????{
????printf("%d "??NUM(1??2??3));
????printf("%s "??STR("aa"??"bb"??"cc"));
????}
??????????????:
????123
????aabbcc
?????????????????????????÷???ú?????????????????????г?????????##?????????????????????????ù?????
???????????????????
?????????????????????Щ????????????Щ???????????????????????????????????????????????????????????
????1.#if???
????#if??????????????????????????????????????棬???????????????????#else??#elif??#endif????????????
????2.#endif???
????#endif???????#if???????
????#define DEBUG 0
????main()
????{
????#if DEBUG
????printf("Debugging ");
????#endif
????printf("Running ");
????}
?????????????DEBUG?????0??????#if????????????????????????#endif???????????????Running??
??????????#define???Ч??????????
????3.#ifdef??#ifndef
????#define DEBUG
????main()
????{
????#ifdef DEBUG
????printf("yes ");
????#endif
????#ifndef DEBUG
????printf("no ");
????#endif
????}
????#if defined?????#ifdef; #if !defined?????#ifndef
????4.#else???
????#else??????????#if????????????#if????????????????????#else????????#endif????????????????顣
????#define DEBUG
????main()
????{
????#ifdef DEBUG
????printf("Debugging ");
????#else
????printf("Not debugging ");
????#endif
????printf("Running ");
????}
????5.#elif???
????#elif?????????????#else??#if???????á?
????#define TWO
????main()
????{
????#ifdef ONE
????printf("1 ");
????#elif defined TWO
????printf("2 ");
????#else
????printf("3 ");
????#endif
????}
???????????????????????2??
????6.?????Щ??????
????#error??????????????????????????????????
????#line????????????????????????????????????????к??
????#pragma?????????????塣????????????????????????????÷????????????Щ?????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
??C++????????????C++ lvalue??rvalueC++11????????C++???????????????C++?е?????????????????C++?????????C++???Windows????λ??C/C++???????????????????JAVA??C??C++??????????c++??python???????????????????????????????C++???????C++?е????????C++????????????????C++ ???????????????C++?????????????????????C++????????????
???·???
??????????????????
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????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????