Regarding the second c++-specific problem:
preprocessing: header file inclusion, macro replacement, conditional compilation, delete comments, no syntax check
because of preprocessing, macro replacement is required, but C++ cannot access classes in the pre-compilation stage Member, so macro substitution is not possible in C++.
Therefore, in C++, there can be no macro definitions in the members of the class.
Regarding C++, there can be no macro definitions in the members of a class.
Guess you like
Origin blog.csdn.net/weixin_46537765/article/details/104934919
Recommended
Ranking