Hi,
I have encountered a problem using threads with the help of classes. I have been using sample codes so far as well as browsing the forum, but unfortunately I cannot find an answer to this problem.
Following the guide about threads I got something like this
Unfortunately I don't understand why a function of void type not belonging to a class passes in the compilation without any problem, but in the other direction it doesn't.
I apologize for bothering you with probably simple problems and for my poor English
Thanks