Add nested parenthesis code in C++.