Skip to content

Commit 4c657c6

Browse files
committed
use for ever instead of while 1
1 parent d95663a commit 4c657c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <stdio.h>
2+
#define ever ;;
23
#ifdef _WIN32
34
#include <windows.h>
45
#include <conio.h>
@@ -60,7 +61,7 @@ int main() {
6061
float x, y;
6162
} p = {w / 2, h / 2}, a[A], m[A];
6263
char u = 0, f[h + 1][w], b[13] = " /\\ / \\ vv ";
63-
while (1) {
64+
for (ever) {
6465
float d = (GetTickCount() - l) * .001;
6566
Read(u); // read input
6667
l = GetTickCount();

0 commit comments

Comments
 (0)