prog.cpp: In function ‘int main()’:
prog.cpp:12:35: error: ‘strlen’ was not declared in this scope
for (int x = 0; x < strlen(strings); x++)
^
prog.cpp:14:17: error: request for member ‘equals’ in ‘strings[x]’, which is of non-class type ‘char’
if (strings[x].equals(targetString))
^~~~~~
prog.cpp:16:32: error: request for member ‘length’ in ‘*(char*)(& strings)’, which is of non-class type ‘char’
for (int y = x; y < strings->length; y++)
^~~~~~
prog.cpp:18:19: error: request for member ‘equals’ in ‘strings[y]’, which is of non-class type ‘char’
if (strings[y].equals(targetString2))
^~~~~~
prog.cpp:28:19: error: request for member ‘equals’ in ‘strings[y]’, which is of non-class type ‘char’
if (strings[y].equals(targetString2))
^~~~~~