forked from University/epr24pr5-ojanssen2
fix: added new line before output
This commit is contained in:
parent
bdc78f950e
commit
ab52f300e2
1 changed files with 3 additions and 3 deletions
6
main.cpp
6
main.cpp
|
@ -50,16 +50,16 @@ int main(int argc, char** argv)
|
|||
{
|
||||
sc->run(parameter);
|
||||
if (sc->should_display_result())
|
||||
cout << "100: Alles erfolgreich\n";
|
||||
cout << "\n100: Alles erfolgreich\n";
|
||||
return sc->get_value();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Error& e)
|
||||
{
|
||||
cout << e.get_nr() << ": " << e.what() << "\n";
|
||||
cout << "\n" << e.get_nr() << ": " << e.what() << "\n";
|
||||
return e.get_nr();
|
||||
}
|
||||
cout << "101: Befehl ist unbekannt.\n";
|
||||
cout << "\n101: Befehl ist unbekannt.\n";
|
||||
return 101;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue