This is a basic question so here goes. I'm trying to perform a logic operation on a string (an if statement on a persons name). I've tried with quotation marks "if (name == "Joe")" and with apostrophes "if (name == 'Joe')" but neither seems to work. Name is declared as "char name[25]." The statement with quotation marks it thinks even if I type the name right it is false. With apostrophes I get a "warning: multi-character character constant" error. Since I don't know anything I don't know where to start looking for answers. I've tried getting the string with "cin" and "cin.getline" but both give the same results. Also is there a way to make this statement not caps sensative, so "joe", "Joe", or "JOe" all end up being true in the statement?