Hello
Using :
cout << "enter 5 letter";
getline(cin, letter);
executes fine but when running PC- Lint:
getline(cin, expectedLabel): error 534: (Warning -- Ignoring return value of function 'std::getline(std::basic_istream<char,std::char_traits<char>> &, std::basic_string<char,std::char_traits<char>,std::allocator<char>> &)'
error 830: (Info -- Location cited in prior message)
I was wondering if anyone could tell me the problem with getline and is there an alternitve i do wish to enter 5 letters