This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
template<class T> | |
class SimpleSet{ | |
public: | |
/** Construct empty set **/ | |
SimpleSet(); | |
/** Destructor */ | |
~SimpleSet(); | |
/** Insert i into set, return true if the element was inserted, else false **/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Oppgave 1a | |
* v0: 5 | |
* increment: 2 | |
* iterations: 10 | |
* result: 25 | |
*/ | |
#include <iostream> | |
#include "tests.h" |