10.09.2013 Views

Dictaat SOPX3 - Harry Broeders

Dictaat SOPX3 - Harry Broeders

Dictaat SOPX3 - Harry Broeders

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!