diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-09 03:13:14 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-09 03:13:14 -0800 |
commit | 584ca7f9b6fca6da54608d3b28274273b2c9a4b8 (patch) | |
tree | d553b549cf246ddb24c93f9a95467bf9e019c052 /starts/meaning-vm/habit-starts/rhythm.cpp | |
parent | 8d238e65a88502b897f1944b7844afffdbc0d761 (diff) | |
download | standingwithresilience-584ca7f9b6fca6da54608d3b28274273b2c9a4b8.tar.gz standingwithresilience-584ca7f9b6fca6da54608d3b28274273b2c9a4b8.zip |
make level-2 have refs
Diffstat (limited to 'starts/meaning-vm/habit-starts/rhythm.cpp')
-rw-r--r-- | starts/meaning-vm/habit-starts/rhythm.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/starts/meaning-vm/habit-starts/rhythm.cpp b/starts/meaning-vm/habit-starts/rhythm.cpp index d5b2161..33e102a 100644 --- a/starts/meaning-vm/habit-starts/rhythm.cpp +++ b/starts/meaning-vm/habit-starts/rhythm.cpp @@ -8,14 +8,13 @@ #include <iostream> -using namespace intellect::level1; +using namespace intellect::level2; int main() { - srand(time(0)); - int micros = 400000 + double(rand()) / RAND_MAX * 400000; // do something, wait a constant (secret) time, and do it again. + int micros = 400000 + double(rand()) / RAND_MAX * 400000; // the time things take is usually not known in advance, especially // for events one is still learning about. |