腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
#
在
带有
mingw64
的
Visual
Studio
代码
中
找不到
include
<
iostream
>
c++
、
visual-studio-code
、
windows-10
、
mingw-w64
我
在
Win10
的
“
Visual
Studio
code”
中
安装了“C/C++ IntelliSense,debugging,and code browsing”扩展,并添加了c_cpp_properties.json{workspaceFolder}/**", "E:\\PROGRAMS\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\
mingw64
两者都工作正常,但In
浏览 91
提问于2020-05-01
得票数 1
回答已采纳
1
回答
#包含检测到
的
错误。请在
visual
studio
代码
中
更新includePath。
c++
、
visual-studio-code
、
mingw
我试图
在
Visual
Studio
Code How to use C/Cpp extension and add includepath to configurations
中
编译C++文件,但是我得到了这个错误: #
include
errors detected.Squiggles are disabled for this translation unit. cannot open source file "
iostream
" 我已经看到了this qu
浏览 173
提问于2021-07-10
得票数 0
3
回答
为什么
在
“发布”模式下生成
的
可执行文件会产生不好
的
结果?
c++
、
visual-studio
#
include
<
iostream
> { if (restomenor;{}
在
发布模式下使用
visual
stud
浏览 0
提问于2016-04-15
得票数 0
1
回答
LLVM/Clang++
找不到
<
iostream
>
c++
、
clang
、
llvm
、
clang++
MinGW-W64和LLVM都被添加到我
的
路径
中
。
Studio
9.0/VC/PlatformSDK/
Include
" -internal-isystem "C:/Program Files/Microsoft
Visual
Studio
8/VC/
Studio
10.0/VC/
include
" ignoring nonexisten
浏览 3
提问于2021-06-19
得票数 0
2
回答
名称空间"std“没有成员"cout”("cin“、"endl”、.是一样
的
)
c++
、
visual-studio-code
、
std
最近,经过很长一段时间,我
在
大学里重新安装了C++。
在
安装了C++扩展包之后,我用"HelloWorld“
代码
进行了测试,发现名称空间"std”
的
所有成员都犯了错误,如下所示。所有这些问题都与缺少
的
#
include
<
iostream
>、using namespace std、更改intelliSenseMode、C_Cpp.errorSquiggles或其他相关,但没有一个是正确
的
答案: [ &q
浏览 34
提问于2022-10-12
得票数 1
1
回答
Visual
Studio
编译器错误
c++
、
visual-studio-2010
我
在
visual
studio
2010
中
创建了一个简单
的
DLL作为测试。以下是SimpleCPP.cpp
的
代码
#
include
"SimpleH.h" { std::cout << "Test." << std::endl
浏览 0
提问于2015-05-17
得票数 0
2
回答
在
Windows (C++)
的
dirent.h
中
找不到
seekdir()
c++
、
c
、
windows
、
dirent.h
因此,我找到了这篇文章
的
,它指向我下载并安装dirent.h
的
。所以dirent.h已经安装好了,我可以使用基本
的
函数,比如opendir,readdir,但是当我想使用seekdir()函数时,它似乎不存在于库
中
,所以我进入dirent.h来验证我
的
假设,(感谢Ctrl
浏览 28
提问于2016-08-18
得票数 1
1
回答
为什么# <
iostream
>不为我编写VS
代码
?
c++
、
windows
、
visual-studio-code
、
mingw-w64
我试图
在
Visual
中
编译一个C++项目,但是
在
#
include
<
iostream
>上出现了一个错误:无法打开源
代码
文件"
iostream
“。快速解决方法是添加C:/msys64 64/
mingw64
64/
include
/c++/11.2.0作为包含路径。当我尝试这样做时,我得到了一个错误:无法打开源
代码
文件“bit
浏览 13
提问于2022-02-20
得票数 2
4
回答
Visual
Studio
2008速成版中出现“无法打开包含文件:'fstream.h'”错误
c++
、
visual-studio-2008
在编译这段
代码
时,我得到了:为什么?
代码
:#
include
<gl/glut.h>#
include
<
iostream</e
浏览 2
提问于2010-10-21
得票数 16
回答已采纳
2
回答
在
windows 10 (python版本3.9)
中
安装python Install模块
python
、
installation
、
pip
我试图
在
windows 10
中
安装python模块,但是它失败了。
在
ubuntu工作得很好。 我从输出文件和目录
中
复制了opt/x86_64-W64-
mingw64</e
浏览 8
提问于2021-04-16
得票数 2
回答已采纳
1
回答
我创建这个类
的
方式有什么问题吗?
class
、
stdafx.h
我一直收到cpp
的
错误,询问我是否忘记了
在
头文件
中
包含stdafx.h,错误
代码
是C1010。首先,我有一个头文件,它定义了计算器
的
一些基本函数。它在被调用时接受参数。#pragma once#
in
浏览 16
提问于2020-02-06
得票数 0
1
回答
如何导入C++ 20 <format>模块?
c++
、
c++20
、
c++-modules
我使用
的
是
在
Windows 10机器上运行
的
Visual
Studio
2019 (社区版)。我已经创建了一个简单
的
控制台应用程序,并且我想导入format模块,以便可以使用std::format()之类
的
东西。我得到一个错误‘
找不到
标题’格式‘来导入。我
的
代码
是基于Horton和van Weet
的
一本名为“20”
的
书,这本书
的
开头有两行,即: import <e
浏览 22
提问于2021-05-23
得票数 0
回答已采纳
2
回答
在
c++
中
读取字符串
c++
、
visual-studio-2013
、
dev-c++
在
Dev C++编译器
中
,我可以编写并成功编译以下内容:#
include
<string> string method; return 0;但是,当我用
Visual
Studio
2013 (console app mode)编写上面的
代码
时我得到了以下错误
浏览 3
提问于2014-09-26
得票数 3
回答已采纳
1
回答
VSCode C++编译错误:如何链接附加库(*.lib)?
c++
、
visual-studio-code
、
compiler-errors
、
mingw
我正在设置VS
代码
环境(Windows)以编译
Visual
Studio
C项目。
在
源文件
中
还有一个名为
的
/外部*.lib文件。它位于如图所示
的
目录
中
。但是当我
在
VS
代码
中
编译它时,编译器无法
在
额外
的
*.lib中找到函数。 { // See https://go.microsoft.com&
浏览 0
提问于2019-06-22
得票数 2
2
回答
如何在windows上使用clang与mingw-w64标题
windows
、
gcc
、
clang
、
mingw
、
llvm
我
的
电脑上没有安装MSVC,也没有Windows。我需要一些clang
的
特性,我想用gcc来替换它,更具体地说,用g++代替它,因为我使用C++。当我试图编译简单
的
文件时,我得到: 这是否也意味着我
的</em
浏览 7
提问于2016-10-05
得票数 19
回答已采纳
1
回答
无法识别
Visual
Studio
上
的
周围
c++
、
visual-studio-2012
我正在编译一个
在
Windows7上
的
Visual
Studio
2012
中
使用lround
的
库,
代码
非常简单:#
include
<math.h> std::cout << dfoo << " => " << ifoo
浏览 0
提问于2014-02-05
得票数 1
3
回答
为什么即使我没有#
include
<algorithm>,std::max和std::min仍然可以使用?
c++
、
preprocessor-directive
、
include-guards
#
include
<
iostream
> { std::cout << "Min = " << std::minendl;} 据我所知,min和max函数是
在
<algorit
浏览 5
提问于2013-11-11
得票数 19
回答已采纳
1
回答
为什么
带有
Emscripten
的
Intellisense
找不到
SDL2/SDL.h
的
包含路径?
c++
、
c
、
visual-studio-code
、
webassembly
、
emscripten
我正在Win10上开发一个用于Webassembly
的
C++程序。#
include
<SDL2/SDL.h>#
include
<emscripten.h> printf("Hello World但
Visual
Studio
代码
中
的
智能感知总是显示
找不到
the source of #<
浏览 28
提问于2020-05-06
得票数 2
回答已采纳
2
回答
在
基于范围
的
临时std::initializer_list上迭代
c++
、
visual-studio
、
c++11
、
undefined-behavior
、
compiler-bug
给定以下
代码
#
include
<initializer_list> }我期望输出结果b: 0 和同意,然而, 2013更新5(我<em
浏览 0
提问于2015-10-23
得票数 2
2
回答
如何链接或很好地包含winrt以编译项目
c++
、
windows
、
visual-studio-code
、
gcc
、
windows-runtime
fatal error: experimental/coroutine: No such file or directory#
include
<fstream>#
include
<filesystem>#
include
浏览 42
提问于2022-04-20
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Simdjson:一个超高速的JSON解析工具
因GIT默认忽略.dll文件导致的Visual Studio项目通过Bamboo编译失败
Visual Studio C+模块快速入门
C+代码分析组件现已支持SARIF 2.1
使用Visual Studio开发C+应用:增量编译和Shell支持
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券