a exercise code source of <essential cplusplus>