While debugging my c++ file i am encountering an error "Cannot read properties of undefined(reading 'uri')" #11200
Unanswered
prakashAditya639
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Code which I want to debug is ------------------------------------------------------------------------------------
#include
#include
using namespace std;
int main() {
vector arr = {2,2,2,3,4,3,4,2,3};
int x = 2;
int Unknown_index = 0;
for(int i=0;i<arr.size();i++) {
for(int j=i;j<arr.size();j++) {
if(arr[i]==arr[j]==x) {
Unknown_index = j;
}
}
}
cout<<Unknown_index;
return 0;
}
And it always takes me to a workspace.json file which has code
{
"folders": [],
"launch": {
"version": "0.2.0",
"configurations":[
}
Beta Was this translation helpful? Give feedback.
All reactions