I am using visual studio code for coding, and I came to this error :
error: non-aggregate type 'std::vector' cannot be initialized with an initializer list std::vector Tests = {1, 1....
this the line of code :
std::vector<float> Tests = { 1, 1, 1, 1, 1, 1, 1, 1, 1 };
I have included vector,
Do you know what should i do ? Thank you
Aucun commentaire:
Enregistrer un commentaire