添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
乖乖的风衣  ·  .net core 中文乱码-掘金·  1 年前    · 
温文尔雅的小蝌蚪  ·  c# 调用 delphi ...·  1 年前    · 

Sometimes when I am coding in C++ I got errors that cin/cout and some others are ambiguous like the image below but my program has no problems at all. It gets build, compile and run without any problem.
To remove those errors I have to reopen my file. Is this a bug?

It may have been reported for VS2017, but it was closed without any action by the developers.

If you can reliably reproduce the issue with VS2019 then you should consider reporting a new issue and provide enough information to enable MS to reproduce the problem themselves.

To remove those errors I have to reopen my file.

When this happens, have you tried rescanning the solution rather than closing
and reopening the file?

Rescan should be found under the Project menu, and also on the popup menu
when you right-click on the source window in the IDE.

Sometimes the database used by Intellisense doesn't get updated automatically
and promptly after some changes in the source. A Rescan forces that to happen.

  • Wayne
  •