c2
This commit is contained in:
		
							parent
							
								
									957fbf894d
								
							
						
					
					
						commit
						32bec0111a
					
				@ -40,11 +40,15 @@ int main(int argc, char const *argv[]){
 | 
			
		||||
		if (r == NULL){
 | 
			
		||||
			break;
 | 
			
		||||
		}
 | 
			
		||||
		if(line[0]=='\n'){
 | 
			
		||||
			break;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		char* end = NULL;
 | 
			
		||||
		int value = strtol(line,&end,10);
 | 
			
		||||
		if (value == 0){
 | 
			
		||||
		    break;
 | 
			
		||||
		    printf("Nepodarilo nacitat nic\n");
 | 
			
		||||
			return 0;
 | 
			
		||||
		}
 | 
			
		||||
		char tmp[SIZE];
 | 
			
		||||
		memset(tmp, 0, SIZE);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user