while(1) is cleaner than while(1==1)
This commit is contained in:
parent
74792b7786
commit
c6573d5527
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -173,7 +173,7 @@ int main() {
|
|||
printf("\n\nSWITCH OVER TO\n"); // DIVIDER
|
||||
printf("1 = DvorakMSDOS.C, 2 = exit\n");
|
||||
while (getchar() != '\n') {} // same use case as above in the first input part of the code
|
||||
while (1==1) {
|
||||
while (1) {
|
||||
fflush(stdout); // same use case as above in the first input part of the code
|
||||
char chc = GETCH();
|
||||
if (chc == '1') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue