Update 'cv3/program.c'
This commit is contained in:
parent
f09242c172
commit
15c24a4fca
@ -77,8 +77,10 @@ int main() {
|
|||||||
char input[20];
|
char input[20];
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
if (!fgets(input, sizeof(input), stdin)) {
|
char* a = fgets(input, sizeof(input), stdin);
|
||||||
//printf("no␣input");
|
if (a == NULL){
|
||||||
|
//if (!fgets(input, sizeof(input), stdin)) {
|
||||||
|
printf("no␣input\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user