首页 > 技术文章 > 显示C++数据的数据类型
lion-zheng 2018-02-25 11:16 原文
#include <typeinfo> using namespace std; ... cout << typeid(d).name() << endl;
其中,d指"数据"