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.
使用之前要先声明。
你编译的时候有什么警告或者错误信息?
调试时代码确实有跑到main()函数里吗。