get typeof object c++ code example Example: get type of an object c++ //get type of a typeid(a).name()