[Error] subscripted value is neither array nor pointer nor vector 错误原因 携带下标的值不是数组或指针。 想对一个变量名使用下标,它必须要是数组名或指针名 我的错误 将数组分开定义了/重复变量名age 解决方法 将数组重新定义就🆗了