Update EffectiveC++.cpp

Added effective way 9 and 10