(This is true for C, I assume this is true for C++) As it's just a char, you'll want to use [u][b]single quotes[/b][/u]. "a" with double quotes is a string literal (like "abcdef"). 'a' with single quotes is a character (so 'abcdef' would be invalid). The compiler is complaining because "y" with double quotes is of type "const char *", whereas 'y' with single quotes is of type "char" (which can be compared to your char [i]response[/i] variable). This is why the compiler printed an error about making comparisons between pointers and integers. The [i]response[/i] variable of type char is a type of integer, and "y" is a pointer to a string constant. Therefore, you were making a comparison between a pointer and an integer (which is not what you wanted in this case). Easy fix: [code] char response; cout <<"askjdune kksed? y/n\n"; cin>> response; if (response == 'y') { /* Do Yes */ } else if (response == 'n') { /* Do No */ } else { /* Neither yes nor no. Print an error message or something. */ } [/code] If you use a char array for a full string, you use the strcmp function (look up strcmp for more information) [code] char *response; cout <<"askjdune kksed? y/n\n"; cin>> response; if (strcmp(response, "yes") == 0) { /* Yes */ } else if (strcmp(response, "no") == 0) { /* no */ } else { /* Error! */ } [/code] This post is from -- http://socoder.net/index.php?topic=2425