Принудительное перераспределение RAM
This commit is contained in:
		
							parent
							
								
									0d5a86a158
								
							
						
					
					
						commit
						2f6bba5ce7
					
				| @ -11,6 +11,9 @@ string strInit(char* s) { | ||||
| 	strcpy(str, s); | ||||
| 	return str; | ||||
| } | ||||
| void strResize(string* s, int new_size) { | ||||
| 	*s = realloc(*s, new_size * sizeof(char)); | ||||
| } | ||||
| // -------------- END ------------------
 | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user