cpp assignment