how to increment macro in C++? -
i have calculate number of times method called. have macro set 0. can increment particular method a++ , return in main method.or how use counter macro.
i have macro set 0. can increment particular method a++ ?
no ++ needs lvalue, cannot 0++, a
replaced value after per-processing.
why not make global, or use call reference ?
Comments
Post a Comment