代码报错问题有关debug

我想问一下
看不懂代码报错怎么办

img


expected primary-expression before % token
这个是什么意思啊

给个完整代码,不然不好指出哪里错了