C++ question in linux
I have list name PartialList:
std::list<Partial>PartialList; Now I want to make pointer to the beginning of the list. How should I define this pointer? _______________ ListPointer = PartialList.begin(); Thanks Yoav |
You would create an iterator for that:
std::list<Partial>::iterator it = PartialList.begin(); |
All times are GMT -5. The time now is 10:05 PM. |