VSCode Errors warning in CPP

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



VSCode Errors warning in CPP



My vscode is buggy when it interprets the CPP.
In many cases it tells me an error when there are no problems.
Example:


#include <array>
#include <iostream>
#include <ctime>

int main(int ac, char **av)

std::array<int, 10> arr; // for std::array -> 'qualified name is not allowed'
arr[0] = 1;
time(0); // 'identifier "time" is undefined'
return 0;



I have 2 extensions for C/CPP:



I uninstall/install/run without them and tried to reinstall vscode but still.



My c_cpp_properties.json is 'normal'



"configurations": [

"name": "Linux",
"includePath": [
"$workspaceFolder/**",
"/usr/include/linux",
"/usr/include/c++/8.2.1/tr1"
],
"defines": ,
"compilerPath": "/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++14",
"intelliSenseMode": "gcc-x64"

],
"version": 4



Does anyonne kwow why my VScode has this behaviour and how I could repair it?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.