Learning CPP 11 with best practices