This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
是没有添加头文件还是什么,帮我看看
您的报错的描述是怎样的?报错的是哪行代码?
14 15行
把赋值语句放在函数里边就可以了。