编译类时出现"Identifier not found"错误
Getting an "Identifier not found" error on compiling a class
粘贴到的链接
我不确定我在这里做错了什么。它只是不允许我访问getTypeEffective函数——就像我要么拼错了它,要么还没有写出来。有什么想法吗?
查看第21行。您将原型定义为"double getEffective(TYPING,TYPING);"
它应该是"double getTypeEffective(TYPING,TYPING);"
在使用函数之前需要声明它,如下所示:
double getTypeEffectiveness(TYPING attack, TYPING defend);
(或者只是将定义移动到您使用它的位置上方)。
getTypeEffective与getEffective
相关文章:
- OpenMP卸载说'fatal error: could not find accel/nvptx-none/mkoffload'
- 使用JsonCpp将数据返回到带有pybind11的python会在python调用中产生Symbol not foun
- OpenCV Android C++ imwrite not found
- 应用程序崩溃并显示"symbol _ZdlPvm, version Qt_5 not defined in file libQt5Core.so.5 with link time reference"
- 使用单词"not"作为C ++类的名称会导致VS2019错误
- 错误"Could not find Boost"(缺少:上下文标头)
- 我看到"use of undeclared identifier"错误,有人可以告诉我如何解决它吗?
- 如何修复"error: ‘_1’ was not declared in this scope"?
- 套接字连接"Operation not permitted"错误,甚至使用升压/平发器根.cpp
- Is !NaN not a NaN?
- 为什么我在" 'X' identifier not found' "上收到错误
- C++ 模板成员功能"identifier not found"
- 错误 "identifier not declared in this scope" - C++
- 包括 fstream,但"ifstream not found"和"identifier is undefined"
- C++函数和'identifier not found'错误
- 从函数调用函数时出错"identifier not found"
- C++ 绕道 3.0 快递在 MVS 2012 错误"identifier not found"
- 是Visual Studio 2013还是什么????- "Identifier not found"
- 编译类时出现"Identifier not found"错误
- 遇到"identifier not found"问题