m0_46278925 2022-04-28 20:32
浏览 1109
已结题

VScode提示was not declared in this scope

问题遇到的现象和发生背景

VScode工程中引用了第三方库,报错was not declared in this scope,但对应头文件中已经是声明了的

问题相关代码,请勿粘贴截图

img

运行结果及报错内容

'Keyboard' was not declared in this scope

我的解答思路和尝试过的方法

试过自己新建一个空的.cpp和.h,结果是可以运行的

我想要达到的结果

请问到底是哪里出了问题

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 5月6日
    • 创建了问题 4月28日