cho em hỏi đây là lỗi gì và sửa nó như thế nào ạ.
Lỗi là no match for 'operator=' (operand types are 'std::vector' and 'int*') Để sửa thì bạn chuyển thuộc tính testScore sang kiểu int* hoặc chuyển tham số testScore sang kiểu std::vector<int>
no match for 'operator=' (operand types are 'std::vector' and 'int*')
testScore
int*
std::vector<int>
maithaison
0 chủ đề
0 bài viết
Lỗi là
no match for 'operator=' (operand types are 'std::vector' and 'int*')
Để sửa thì bạn chuyển thuộc tính
testScore
sang kiểuint*
hoặc chuyển tham sốtestScore
sang kiểustd::vector<int>