We step back to chacking if the function works well or not.
1 | |||
2 | int checkf_replace () ; | qualified: 2/13 | |
3 | int checkf_set_csv () ; | qualified: 2/14 | |
4 | int checkf_print_csv () ; | qualified: 2/14 | |
5 |
1 |
We could memory csv in the function of checkf_set_csv and print the csv in the other function checkf_print_csv. csv itself is not static. |
||
2 | main.cpp | char*** csv = NULL; | |
3 |
|
||
4 | main.cpp | int print_csv () ; | |
5 | array_counter.cpp | char* copyof ( char* str ) ; | |
6 | array_counter.cpp | char* m_replace ( char* char_string, char* from_string, char* to_string ) ; |
|
Compiled Well:
https://github.com/WaitrudWeber/source_zip/blob/master/replace_20210214.zip
Compilation Error: