Hello I have this question: I would like to have a vector as class member. This is perhaps my question easier for you and I apologize for that.
You most certainly want to use std::vector myVector. No need to initialize it, as it gets automatically initialized in the constructor of your class and deallocated when your class is destroyed.
std::vector myVector