refresh
This commit is contained in:
		
							parent
							
								
									3ee0656e53
								
							
						
					
					
						commit
						4aebd8a377
					
				@ -28,7 +28,7 @@ struct stack* create_stack (int capacity) {
 | 
			
		||||
 | 
			
		||||
void push_stack(struct stack* s, float value) {
 | 
			
		||||
    if (s->size >= s->capacity) {
 | 
			
		||||
        printf("Stack perepolnen!\n");
 | 
			
		||||
        printf("full stack\n");
 | 
			
		||||
        exit(1);
 | 
			
		||||
    }
 | 
			
		||||
    s->values[s->size] = value;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user