Home>

To study c ++, I want to debug it by importing Eclipse from multiple files.

As you can see, the build passes, but

When you open a file, you will get an error that each symbol cannot be resolved.

When you open a file, it will be marked with a cross like this.

The outline also has a cross.

How can I fix it up to debugging? I would like you to point out as concretely as possible.

  • Answer # 1

    Perhaps that's why the compilation finished successfully, so I think you can debug it as it is.

    The error display in the editor is the result of analyzing the code separately from the compiler, so the result will change if the situation is different from the actual build time.