Some CPP basic programs