首页 > 解决方案 > VS Code中的C#include错误,无法打开库

问题描述


我使用 Ubuntu 18.04、VS Code 和 C/C++ 扩展,我试图从另一个问题中测试代码,出现以下错误:

此外,它说它无法打开从“conio.h”到“iostream.h”的源文件......

我尝试按照 VSC 的建议使用 vcpkg,但它不起作用:/

前 3 个库一如既往地好,有人可以帮我处理其他库吗?谢谢!

#include        <stdio.h>
#include         <math.h>
#include       <stdlib.h>
#include        <conio.h>    //Can't
#include     <graphics.h>    //open
#include          <dos.h>    //those
#include     <iostream.h>    //four

标签: cvisual-studio-code

解决方案


推荐阅读