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