1 | put_token We are going to proof to be able to alocate more than size:1012. |
Qualified | 3/17 |
.\replace.cpp Wed Mar 17 20:02:41 2021 223 :char* read_all (char* filename ) { ... 251 : // Lootn check if we set 100 to the text file. 251 : // Lootn check if we set 100 to the text file. 252 : for ( i =0; i<file_end && i <10000; i++ ) { 253 : |
Qualified | 3/17 | |
reusult: We can read more than size 1012 if we changed safety index number 1000 to 10000 in read_all. |
|||
We cannot convert the string enought and check it
The problem was in read_all at start, which might be put_token in array_counter.cpp.
--- execution 001 starts. ---
count|1012|cnt_replace|0| countofresult|1012|
--- execution 001 ends. ---
*
cnt_replace is 0 but we recognised the replace in other number.