std::cin.getline( ) vs. std::cin In case with char*, std::cin.getline getting line, instead of std::cin getting first word.