Visual Studio代码:C/C++ IntelliSense未显示超载

发布于 2025-02-05 15:47:28 字数 308 浏览 2 评论 0原文

Visual Studio代码不会显示函数过载,如您在屏幕截图上所见。但是据我所知,Intellisense应该显示/建议我所有功能过载。

只需请注意,您看到的代码是唯一使用VSCODE打开的文件,没有其他包含。

我需要做什么,将显示功能过载?

Visual Studio Code does not show function overloads, as you can see on the screenshot. But as far as I know, Intellisense should show/suggest me all function overloads.

enter image description here

Just note that the code you see is the only file that is opened with vscode, there are no other includes.

What do I need to do so that function overloads will be displayed?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

貪欢 2025-02-12 15:47:28

IntelliSense实际上是正确的,您无法在C中过载功能。 。

Intellisense is actually correct, you can't overload functions in C. Well, you technically can, but not the way you are doing it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文