![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug
0.0005
啦啦啦
展开
-
类的对象无法访问构造函数
一个足足困扰我四天的问题,但其实很简单,因为class如果不声明的话,其内部的函数默认为private类型,所以需要在开头添加。原创 2023-03-20 09:35:41 · 174 阅读 · 0 评论 -
increment of member ‘xxx‘ in read-only object
因为函数后面有const,所以这是个“只读”成员函数,只读函数不能改变类的成员变量。原创 2023-03-08 09:24:41 · 1639 阅读 · 0 评论 -
string未定义标识符
string未定义标识符原创 2022-05-02 15:47:02 · 8822 阅读 · 2 评论 -
file not recognized: File format not recognized
file not recognized: File format not recognized原创 2022-04-26 06:30:00 · 16024 阅读 · 0 评论 -
[Error] cannot bind ‘std::ostream {aka std::basic_ostream<char>}‘ lva
[Error] cannot bind 'std::ostream {aka std::basic_ostream<char>}' lva原创 2022-04-27 06:30:00 · 4865 阅读 · 3 评论