11.typeid

 1 #include <iostream>
 2 using namespace std;
 3 
 4 
 5 void main()
 6 {
 7     int a;
 8     cout << typeid(a).name() << endl;
 9     cin.get();
10 }

 

posted @ 2018-03-11 12:14  喵小喵~  阅读(123)  评论(0编辑  收藏  举报