c - VS Code中的C#include错误,无法打开库
问题描述
我使用 Ubuntu 18.04、VS Code 和 C/C++ 扩展,我试图从另一个问题中测试代码,但出现以下错误:
- #include 检测到错误。请更新您的 includePath。此翻译单元 (/home/alan/Desktop/C/test/main.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
解决方案
推荐阅读
- python - 如何根据上述行的值添加新列
- localization - 我们可以使用 moment.js 支持数字本地化吗
- asp.net-core - 使用 UseStatusCodePagesWithReExecute 并显示消息未按预期工作
- c# - 将 XAML 窗口转换为位图
- mysql - mysql 根据输入在列中查找最“真”的行
- appium-android - 无法使用 bat 文件启动 appium 1.9.0
- java - Java http代理SocketException:来自服务器连接重置的文件意外结束
- cassandra - 如何在 cassandra 流式传输时增加每个主机的连接
- react-native - 上下左右阴影宽度不同
- mysql - 在 MySQL 5.7 中找不到与列列表匹配的 FULLTEXT 索引