C ++在NetBeans中显示错误(无法解析标识符),但代码运行正常

问题描述:

我刚刚开始在NetBeans中编写C ++。我有一个工作代码(编译好,运行良好)问题是代码将显示一些错误(无法解析标识符)。

I just started coding C++ in NetBeans. I have a working code.(compiled fine , run fine) The problem is the code will show some errors(unable to resolve identifiers).

为什么会发生这种情况。 ?代码工作正常。如何解决此问题?

why this is happening. ? The code works fine. How can i fix this issue?

尝试清理项目,然后重建。

Try to clean the project and then rebuild it.