I am a new C++ user...
I have a question regarding how to declare a member of a class \"classA\" that is an object of another class \"classB\", knowing that \"classB\" h
What you need is initializer list:
myClass::myClass (string videoFileName) : myCapture(videoFileName) { }
This will construct myCapture using its constructor that takes a string argument.
myCapture
string