迷茫2017-04-17 14:33:25
Your first picture crashed, and no code was posted, only an error message was given, so there is no way to troubleshoot it...
(It seems that the first few questions you asked all asked the same question, And no code is posted. )
I have a question: Do you think there is no semicolon after the definition of class? It should be written as class MyClass{};
Anyway, this is the first compilation error I encountered when writing class
. As for further troubleshooting, I’ll wait for the code to be posted
伊谢尔伦2017-04-17 14:33:25
The first picture cannot be displayed. . . . . It seems that teacher should be a class and t1 is an object