错误:显示“class std::unordered_map<int, char> 没有名为”contains“的成员
作者:Mini-Touch 提问时间:9/2/2023
我最近一直在学习地图的功能。当我尝试使用包含时,它一直显示错误。代码如下: #include <iostream> #include <unordered_map> using namespace...
编译器错误 问答列表
作者:Mini-Touch 提问时间:9/2/2023
我最近一直在学习地图的功能。当我尝试使用包含时,它一直显示错误。代码如下: #include <iostream> #include <unordered_map> using namespace...
作者:Rasmus 提问时间:9/15/2023
我通过举一个最小的例子,重现了使用英特尔 Fortran 编译器 ifort 编译代码时遇到的一些奇怪行为。这种奇怪的行为也出现在较新的英特尔编译器 ifx 上。 使用 ifort 版本 2021....
作者:ghostsushi 提问时间:9/19/2023
当我尝试在代码中使用 Math.random 时,我得到“错误:找不到符号”并指向 Math 和 random 之间的“.”。但是,当我在 programiz.com 上将代码重写为在线编译器时,它可...
作者:Scrub Tactics 提问时间:9/20/2023
我正在尝试运行一个 Splashkit 项目,但这个错误不断弹出,不让我运行该文件并给我这个错误。有人知道如何解决这个问题吗? 这是我的程序.cs using SplashKitSDK; pub...
作者:Vladislavs Burakovs 提问时间:9/30/2023
描述 这是一段代码,clang、gcc 和 msvc 编译器对其进行了不同的处理: #include <type_traits> template <bool> struct enum_as_...
作者:Another User 提问时间:10/2/2023
我正在 Fortran 中使用矩阵和向量进行基本的线性代数计算。我已将编译器从 gfortran 更改为 ifort,我发现当我的矩阵变得太大时(特别是当它们的大小为 724 x 724 时,类型为 ...
作者:Zobia Kanwal 提问时间:4/10/2019
我已经从 Rust 安装页面在 Windows 上安装了 Rust。安装后,我尝试运行“hello world”程序,但出现以下错误。 >cargo run 错误 Compiling hell...
作者:Omar Kabil 提问时间:6/19/2023
从 bs4 导入 BeautifulSoup 导入 CSV 从 itertools 导入zip_longest 将 open('dhsh.html', 'r') 替换为main_page: src ...
作者:Spektre 提问时间:10/16/2023
最近,我需要使用 ,并撞到一些像这样的墙:volatile AnsiString volatile AnsiString s; s="123456"; s[2]='X'; // <- [C++ Er...
作者:yeputons 提问时间:10/15/2023
请考虑以下代码: #include <iostream> int main() { long long x = 123456789123456789; std::cout << std::fix...