目录
1、遇到问题
2、问题解决
1、遇到问题
error: function definition is not allowed here
error: function definition is not allowed here
错误:此处不允许函数定义。
2、问题解决
检查函数定义的范围 ,在一个函数内部不允许再定义函数。

目录
1、遇到问题
2、问题解决
error: function definition is not allowed here
错误:此处不允许函数定义。
检查函数定义的范围 ,在一个函数内部不允许再定义函数。