first commit of version ported line by line from python
Not working correctly yet, errors when handling certain predigits
This commit is contained in:
commit
aac5409a72
6 changed files with 156 additions and 0 deletions
10
main.cpp
Normal file
10
main.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <iostream>
|
||||
#include "Spigot.hpp"
|
||||
|
||||
int main(void) {
|
||||
Spigot *piSpigot = new Spigot(1000);
|
||||
for(int i = 0; i < 1000; i++) {
|
||||
piSpigot->pump();
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue