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:18:36: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (strings[y] == (targetString2))
^
prog.cpp:28:36: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (strings[y] == (targetString2))
^