p17 in C++