buffet
This commit is contained in:
		
							parent
							
								
									d2a173a719
								
							
						
					
					
						commit
						7455eb5a3d
					
				| @ -47,6 +47,7 @@ void search(struct tree* this){ | ||||
|         } */     | ||||
|         if(buffer[0] == 'a'){ | ||||
|             if(this->left->value[0] == '*'){ | ||||
|                 printf("%s\n", this->left->value); | ||||
|                 printf("%s\n", this->left->value); | ||||
|                 return; | ||||
|             } | ||||
| @ -139,7 +140,7 @@ int main(){ | ||||
|      | ||||
|     printf("%s\n", tree->value);    | ||||
|     search(tree);    | ||||
|     //destroy_tree(tree);
 | ||||
|     destroy_tree(tree); | ||||
|     printf("Koniec\n");      | ||||
|     return 0; | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user