closes#5
On Linux the clock() function measures cpu time instead of wall time. This change uses the Apple code path for Linux.
output with fix:
$ ./doble player2
Wie viele Zahlen sollen gezeigt werden: 3
Numbers: 3 3 2
Welche Zahl kommt doppelt vor: 3
Sie haben die korrekte Zahl in 3.119305 Sekunde(n) gefunden und 2990 Punkte erzielt.
+---------------------------------------------+
| H I G H S C O R E S |
+---------------------------------------------+
| player1 | 3999 |
+---------------------------------------------+
| player2 | 2990 |
+---------------------------------------------+
closes #5
On Linux the clock() function measures cpu time instead of wall time. This change uses the Apple code path for Linux.
output with fix:
```
$ ./doble player2
Wie viele Zahlen sollen gezeigt werden: 3
Numbers: 3 3 2
Welche Zahl kommt doppelt vor: 3
Sie haben die korrekte Zahl in 3.119305 Sekunde(n) gefunden und 2990 Punkte erzielt.
+---------------------------------------------+
| H I G H S C O R E S |
+---------------------------------------------+
| player1 | 3999 |
+---------------------------------------------+
| player2 | 2990 |
+---------------------------------------------+
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
closes #5
On Linux the clock() function measures cpu time instead of wall time. This change uses the Apple code path for Linux.
output with fix:
Kann ich leider mangels Linux nicht einfach testen... @freudenreichan kannst du das bei dir bei Gelegenheit mal ausprobieren?
4880a9d2f4toe4db0beda0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.