How To Achieve Abstraction In Cpp