prog.cpp: In function 'int main()':
prog.cpp:29:21: error: request for member 'replace' in 'strings1[k]', which is of non-class type 'char*'
strings1[k].replace(0,strings1[k].length(),string1[strings[k][3]].substring(0,strings1[k][6]));
^
prog.cpp:29:43: error: request for member 'length' in 'strings1[k]', which is of non-class type 'char*'
strings1[k].replace(0,strings1[k].length(),string1[strings[k][3]].substring(0,strings1[k][6]));
^
prog.cpp:29:52: error: 'string1' was not declared in this scope
strings1[k].replace(0,strings1[k].length(),string1[strings[k][3]].substring(0,strings1[k][6]));
^
prog.cpp:32:21: error: request for member 'replace' in 'strings1[k]', which is of non-class type 'char*'
strings1[k].replace(0,strings1[k].length(),string1[strings[k][3]);
^
prog.cpp:32:43: error: request for member 'length' in 'strings1[k]', which is of non-class type 'char*'
strings1[k].replace(0,strings1[k].length(),string1[strings[k][3]);
^
prog.cpp:32:52: error: 'string1' was not declared in this scope
strings1[k].replace(0,strings1[k].length(),string1[strings[k][3]);
^
prog.cpp:32:73: error: expected ']' before ')' token
strings1[k].replace(0,strings1[k].length(),string1[strings[k][3]);
^
prog.cpp:41:19: error: request for member 'replace' in 'strings1[k]', which is of non-class type 'char*'
strings1[k].replace(0,strings1[k].length,string1[m++]);
^
prog.cpp:41:41: error: request for member 'length' in 'strings1[k]', which is of non-class type 'char*'
strings1[k].replace(0,strings1[k].length,string1[m++]);
^
prog.cpp:41:48: error: 'string1' was not declared in this scope
strings1[k].replace(0,strings1[k].length,string1[m++]);
^