Hi everyone, is it possible to have a member function that returns a string in a class. I'm new in Qt and I've written this class which contains one of the member functions with "string" as a return type but when I run a program with this class, I get an error "string does not name a type". why is this?
Bookmarks