Learning in cpp