basic cpp