The best way to resolve the error would be to avoid having a vector of char *'s that shadows main's argv. That is crappy design, despite the fact you claim to have other code that works perfectly...
Type: Posts; User: grumpy
The best way to resolve the error would be to avoid having a vector of char *'s that shadows main's argv. That is crappy design, despite the fact you claim to have other code that works perfectly...
The purpose in making a member private is to prevent any other code (including in derived classes) from directly modifying it.
If you really want direct access to the member, then make it public...