Change input condition from '1' to '0' for buffer
This commit is contained in:
@@ -16,7 +16,7 @@ int main() {
|
||||
cpumodel(cpum);
|
||||
|
||||
printf("Buff: ");
|
||||
if (getchar() == '1') {
|
||||
if (getchar() == '0') {
|
||||
setbuf(stdin, NULL);
|
||||
printf("buff is off\n");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user