在头文件UTF8string.cpp声明了类原型,在UTF8string.cpp文件在具体实现其成员函数。但是编译是一直提示”use of undeclared identifier UTF8string“,如图所示:
visual studio:use of undeclared identifier“xxx类名”

检查了很久,一切都很完美,就是找不到错误,,,最后发现是写完头文件后忘记保存了!!!(蠢哭)

相关文章:

  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2021-04-27
猜你喜欢
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
  • 2021-12-08
  • 2021-10-11
  • 2022-12-23
  • 2022-02-10
相关资源
相似解决方案