why is this giving me 'no output'?
#include <iostream> #include <vector> #include <iterator> #include <set> #include <algorithm> namespace VECTOR1{ // going to figure out this hiding information stuff :/ class Vector1{ public: Vector1(){ }; ~Vector1(){ std::cout<<"vector 1 destroyed.";}; enum vect{ x,y,z,w }; std::vector<int> getV(){ return m_v; }; private: //put container in private visibility std::vector<int> m_v; }; } int main() { using namespace VECTOR1; Vector1 v1; std::vector<int> vect1; vect1=v1.getV(); vect1[0]=v1.x; vect1[1]=v1.y; vect1[2]=v1.z; vect1[3]=v1.w; std::cout<<"hello World!"; return 0; }