Skip to content

Commit

Permalink
Fixed crashes when entering nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
2ndwolf committed Aug 29, 2021
1 parent cca13c3 commit e533603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main(int args, char *arg[]) {
}
catch(const std::exception& e)
{
std::cerr << "Please enter a number as argument for the program." << '\n';
std::cerr << "Please open through command line and enter a number as argument for the program." << '\n';
std::cout << "Press enter to close...";
//clear buffer, wait for input to close program
std::cin.clear();
Expand Down

0 comments on commit e533603

Please sign in to comment.