11 lines
185 B
C++
11 lines
185 B
C++
|
#include <iostream>
|
||
|
#include "Spigot.hpp"
|
||
|
|
||
|
int main(void) {
|
||
|
Spigot *piSpigot = new Spigot(1000);
|
||
|
for(int i = 0; i < 1000; i++) {
|
||
|
piSpigot->pump();
|
||
|
}
|
||
|
return 0;
|
||
|
}
|