laserlight means that you're having problem with getline. Compare your getline to the getline documentation right here