首页 文章
  • 0 votes
     answers
     views

    未解决的外部错误

    我有以下.h和.cpp文件 如果必须,我将包括函数定义的完整代码 当我编译我的程序时,我得到最后显示的错误 hash.h #define BUCKETS 64 #define B_ENTRIES 50000 int curr_tanker; typedef unsigned long int ulong; typedef struct bucket { ...
  • 7 votes
     answers
     views

    Visual Studio 2005中的LNK 2005错误

    我在Windows XP上使用Visual Studio 2005 . 我正在尝试使用“Google Test”框架 . 但由于链接器错误,我无法进行一次测试 . 我在调试模式下使用/ MDd选项构建了Google Test源文件,而不是我创建了新项目 . 然后将this link中写入的步骤创建到项目属性文件中 . 比我尝试使用/ MDd选项构建调试模式并发生以下错误 . 你能帮帮忙吗?谢谢 ....
  • 5 votes
     answers
     views

    已在lib中定义的标准库,导致链接器错误

    不知道我在这里做错了什么,但是说我有: foo.h class foo { public: int Get10(std::wstring); }; foo.cpp int foo::Get10(std::wstring dir) { return 10; }; 我将它编译为lib,如果我将lib包含在另一个项目中以及相关的头文件(foo.h)并尝试调用foo的实例: foo f; f.G...

热门问题