mardi 7 avril 2020

How do I write the constructor function that sets the size of a vector which is the attribute of my class in C++? [closed]

the attribute of my class is a vector whose size represents the number of dimensions of a vector. I have to write a constructor that makes a null vector for a given size. :I'm not sure how to do it, this is what I've tried

Aucun commentaire:

Enregistrer un commentaire