How do I implement a c++ script to search a group of characters from an character array.The search characters are not case sensitive.For an example, I key in "aBc" and the character array has "abcdef" and it is a hit and shows the found.
This is my script,don't know what is wrong.
#include <iostream>
#include <cstdlib>
#include <cstring>
using namespace std;
int main()
{
char charArr1[]="abcdefghi";
char inputArr[20];
cin>>inputArr;
charArr1.find("abc");
}
I recevied this error. request for member 'find' in 'charArr1', which is of non-class type 'char [10]