C + + error prototype for… Does not match any in class

Today, I encountered such a strange bug. After searching for a long time, I didn’t find it. When I finally reviewed the code, I found that the in the error reporting function called an undeclared function . But the compiler didn’t give me a hint and found that it took a certain amount of time. Finally, I declare and implement the function, and the bug is gone.

Read More: