I get input from a file called "accounts.txt" and try to compare it with a predefined word such as 'blue'. Here's an example:
if(word == "blue")
cout<<"The program works";
cout<<"The program does not work";
I never get "The program works" even if the only possible word is blue!