Dictaat SOPX3 - Harry Broeders
Dictaat SOPX3 - Harry Broeders
Dictaat SOPX3 - Harry Broeders
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
private:<br />
T* a; // pointer naar de array<br />
int s; // size van a (max aantal elementen op de stack)<br />
int i; // index in a van de top van de stack<br />
};<br />
template StackWithArray::StackWithArray(int size):<br />
a(0), s(size), i(-1) {<br />
if (s