test cpp programs