V
V
Vladimir Korshunov2022-02-07 13:33:25
NetBeans
Vladimir Korshunov, 2022-02-07 13:33:25

Why are errors highlighted incorrectly in NetBeans in c++?

I just downloaded this IDE, I have a mac. Here is the code:

#include <iostream>
using namespace std;

int main(int argc, char** argv) {
    cout << "a";
    return 0;
}

The IDE highlights the first two lines and cout as wrong, and everything compiles fine. How can this be fixed?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question