VScode 使用万能头后报错了;


#include<bits/stdc++.h>
using namespace std;
#define ll unsigned long long 
int main()
{
    ll t;
    scanf("%llu",&t);
    t=t/1000;
    t=t%(24*3600);
    int h=0,m=0,s=0;
    s=t%60;t/=60;
    m=t%60;t/=60;
    h=t;
    printf("%02d:%02d:%02d",h,m,s);
    system("pause");
    return 0;
}

img

c_cpp_properties.json文件里

{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"C:/Program Files (x86)/Dev-Cpp/MinGW64/include",
"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include"
],
"compilerPath":"C:/Program Files (x86)/Dev-Cpp/MinGW64/bin/g++.exe",//这一行
"browse": {
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 4
}

说明你没下扩展