我今天打开 Visual Studio 2022,并在左侧边栏上看到这些符号。
我没有启用这些,它们只是出现了。如果我点击它们,它们会显示:
它们真的很烦人,特别是因为右侧边栏上出现的红色箭头几乎与错误指示器的颜色相同。
我找不到关闭这些功能的选项,也找不到在线解决方案。有谁知道如何摆脱它们?
My problem is that i want to create multiple instances of my upgrade class, for different upgrades. Maybe it's because i'm used to java but i can't just type Source first("first"), second("second"); because if i do and call first.getName() for example, i get "second". I made an example file where i only wrote what i'm struggling with, so you don't have to try to understand my mess of a code.
Source.cpp: I want multiple instances of this class.
#include …Run Code Online (Sandbox Code Playgroud)