IntArraySeq member definitions
IntArraySeq::IntArraySeq
(const int* p0, int n0):
p(p0), n(n0) { }
bool IntArraySeq::avail()
{
return n > 0;
}
int IntArraySeq::next()
{
--n; return *p++;
}
Previous slide
Next slide
Back to first slide
View graphic version