spigotcpp/main.cpp

11 lines
185 B
C++
Raw Normal View History

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