0

它显示构建成功,甚至显示输出,但它给了我一个红旗,指出以下代码“无法解析标识符名称”:

#include<iostream>
#include <cstdio>
#include<typeinfo>
using namespace std;

int main() {
    auto num = 10;
    cout<<typeid(num).name(); //Red Flag out here (a bulb with red ! mark) and name() is underlined with red color.
    return 0;
}

我得到的结果是:我

4

0 回答 0