转自:https://blog.csdn.net/Koyurion/article/details/86315532
1.用法
#include<typeinfo> //需要包含头文件 typeid(data).name() //打印值: bool: b char: c signed char: a unsigned char: h (signed) short (int): s unsigned short (int): t (signed) (int): i unsigned (int): j (signed) long (int): l unsigned long (int): m (signed) long long (int): x unsigned long long (int): y float: f double: d long double: e
标签:变量,查看,int,signed,unsigned,long,char,C++ From: https://www.cnblogs.com/BlueBlueSea/p/16992767.html