Class has no member named

前端 未结 9 1166
甜味超标
甜味超标 2021-02-19 01:00

I have a problem with accessing a function from a class with the class object in my main function. I am just trying to make the object for the class and use that ob

9条回答
  •  终归单人心
    2021-02-19 01:55

    I had a similar problem. It turned out, I was including an old header file of the same name from an old folder. I deleted the old file changed the #include directive to point to my new file and all was good.

提交回复
热议问题