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

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -