some cpp answers