I am trying to check to see if the users input is equal to "l"
. I should be getting "test worked"
to the console when I press "l"
and then enter, but I am not.
Here is my C++ code
char userIn[8];
std::cin >> userIn;
if (userIn == "l") {
std::cout << "test worked";
}