VS2013 bizarre error report: xxx is not a member of XXX

A weird error

this error is hot to the eye. In theory, this kind of error VS should give the error prompt directly, but there is no error prompt. This kind of error will only occur when I click on the compilation. Then I see that there is nothing wrong with the declaration and definition syntax of my member function, but I just can"t pass the compilation. I wonder if it"s a character encoding problem?


the problem may be that the compilation unit you implemented did not see the full declaration of Mylog, please check whether the header file is included. Because you do not provide enough context, you need to make corrections according to your actual situation.


the mistake reported has been obvious

getLogs is not a member of Mylog

means getLogs should not belong to

in the class Mylog .
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e40c5f-433bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e40c5f-433bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?