Why won't this if statement compile?
int main1()
{
char o[15];
cin >> o;
if(o == 'oscar')
main2();
else
cout << "\n\aIncorrect password.\n" << endl;
main();
cin.clear();
cin.ignore(255, '\n');
cin.get();
return 0;
}
I am trying to set a password to access the program