cv3
This commit is contained in:
parent
9300c574c6
commit
ca9061ea52
@ -16,6 +16,10 @@ int main(){
|
||||
char vstup[STACK_SIZE];
|
||||
int counter = 0;
|
||||
while(1){
|
||||
if(counter > 10){
|
||||
printf("full stack\n");
|
||||
return 0;
|
||||
}
|
||||
if (fgets(vstup, sizeof(vstup), stdin) == NULL) {
|
||||
printf("no input\n");
|
||||
return 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user