solved problems of cpp book