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
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.