how to find type of object in c++ code example Example: get type of an object c++ //get type of a typeid(a).name()