to show GP in C++