parse a C++ code using python
For example, say I have to parse:

void (*do_something)(int a, int b);

Please let me know how do I find the position of the second occurrence of "(" (open bracket). Thanks.
parse a C++ code using python
===

For example, say I have to parse:

void (*do_something)(int a, int b);

Please let me know how do I find the position of the second occurrence of "(" (open bracket). Thanks.