Corrected error message output endline from std::cout to std::endl