c++ - C:2061 error on identifier vector despite vector is included in my .h file? -


i having c2061 error on private methods on classifier.h file. can see, have #include vector, , using public struct. can please me understand overlooking?

#ifndef classifier_h #define classifier_h  #include "patient_data.h" #include <qobject> #include <vector> #include <stdlib.h>  class classifier : public qobject {     q_object public:     explicit classifier(qobject *parent = 0);     ~classifier();     void classify(std::vector<patient_data>data, patient_data i);       struct createsdtable     {         std::vector<int>sum[3];   //element 0 = tumor, element 1 = stage, element 2 = adjuvant         std::vector<long>mean[3];         std::vector<long>error[3];         std::vector<long>sdl[3];         std::vector<long>sd[3];     };      createsdtable currentvsneutropenic;     createsdtable currentvsnonneutropenic;   private:      std::vector<int> calculatesums(vector<patient_data> data, patient_data i, neutropenic n);     std::vector<long> calculatemean(vector<int>validpatients, createsdtable neut, createsdtable nonneut);     std::vector<long>calculateerror(patient_data d, vector<int>m);     std::vector<long>calculatsdl(int nvp, createsdtable cvn, createsdtable cvsnn);     int numofvalidpatients(patient_data x); 


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -