I was using visual studio for c++ projects for over a period of six months.But time passed and in next semester i had java in course so i installed java package and works like charm with visual code studio.
But i am having problem with c++ now,as it keeps telling me
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\DELL\Desktop\problem 1\a.c).cannot open source file "bits/stdc++.h"
and it keeps giving a message too
For C source files, IntelliSenseMode was changed from "windows-gcc-x64" to "windows-gcc-x86" based on compiler args and querying compilerPath: "C:\MinGW\bin\gcc.exe"
I could not find anything which i am doing wrong
#include <bits/stdc++.h>using namespace std;#define fast ios_base::sync_with_stdio(false); cin.tie(NULL);int main(){fastint num,n;cin>>n;vector<vector<int>> v;for(int i=0;i<n;i++){ vector<int> v1; for(int j=0;j<n;j++) { v1.push_back(j+1); } v.push_back(v1);}return 0;}
and there are all types of error which are generated for not including #include <bits/stdc++.h>
but it compiles correctly and also gives results but i don't know why it is showing errors.