problem to get a member fuctions from iterator
-
hi i am working with VS2003 and i got a problem with accessing to list member functions. i have :
class company { public: CString comapany_name; int Number; list work; public: time_of_work(int ID); company(void); virtual ~company(void); }
and class worker{ public: CString name; int ID; int hours public: get_name(int ID); worker(void); virtual ~worker(void); }
when i try to get the member function from the a company iterator that don't work:list::iterator comp; **comp->.....** it give me just a list of company methods and variables
and if i try the dot('.')**comp.** i can get {iterator, operator+,operator-,operator*,operator= }
how can i get the list of the member functions ? -
hi i am working with VS2003 and i got a problem with accessing to list member functions. i have :
class company { public: CString comapany_name; int Number; list work; public: time_of_work(int ID); company(void); virtual ~company(void); }
and class worker{ public: CString name; int ID; int hours public: get_name(int ID); worker(void); virtual ~worker(void); }
when i try to get the member function from the a company iterator that don't work:list::iterator comp; **comp->.....** it give me just a list of company methods and variables
and if i try the dot('.')**comp.** i can get {iterator, operator+,operator-,operator*,operator= }
how can i get the list of the member functions ?Your question isn't clear - for which class do you want a list of methods?
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ "That's what's great about doing user interface work. No matter what you do, people will say that what you did was idiotic." -- Raymond Chen