[add] execrises in c++ primer.
	add:       ex7_40.cc