Use std::cin >> line instead of std::getline() in readBand()