Deriving from InSeq
class IntArraySeq: public InSeq {
public:
IntArraySeq(const int*, int);
virtual bool avail();
virtual int next();
private:
int n;
const int* p;
};
Previous slide
Next slide
Back to first slide
View graphic version