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
Maybe I am 6.5 years late. But I'm answering because others maybe searching still now. I faced the same problem and was searching everywhere. But then I realized I had written my code in an empty file. If you create a project and write your code in there, there won't be this error.