No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have a problem with accessing iterator to the vector in following code (just a few important lines): [CODE]class Data { ... vector<double> hodnoty; public: int CompareData(vector<Senzory*> data); ... } class Senzory : Data { ... const vector<double> &GetData(void){return hodnoty;}; //Returns reference to the vector hodnoty ... } int Data::CompareData(vector<Senzory*> … |
|
Hi! Can you tell me, how to pass a reference to the column in 2d vector to function with following declaration: [ICODE]void SetData( const std::vector<float> &xs,const std::vector<float> &ys); [/ICODE] This function is from wxMathPlot. My vector's declaration looks like this: [CODE=CPP]vector<vector <double> > sekce(8); vector<vector<time_t> > cas_t_all(8);[/CODE] I would like … |