cpp program test