Answer the question
In order to leave comments, you need to log in
How to remove red "and" and "or" highlighting in VS Code?
Tried restarting Intellisense on the active file, reinstalling the C/C++ extension and VS Code itself, but didn't help. The red highlight disappears when I disable the extension, but no errors are highlighted after that. A quick fix suggests simply turning off error highlighting. I am attaching the list of installed extensions and code below.
int f1(int* a, int n, int b, int d) {
int prod = 1;
for (int i = 0; i < n; i++) {
if (b <= a[i] and a[i] <= d) prod *= 1;
}
return prod;
}
int main() {
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question