dope vector data structure in C++ programming language