c++中类似python type()查看变量类型的方法

int b;
cout << typeid(b).name();

posted @ 2022-10-13 11:24  笨笨和呆呆  阅读(59)  评论(0)    收藏  举报