forked from University/epr24pr5-ojanssen2
fix: create newline between result nr and comment
This commit is contained in:
parent
287e51a563
commit
b9baf02866
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 << "100\nAlles erfolgreich\n";
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Error& e)
|
||||
{
|
||||
cout << e.get_nr() << ": " << e.what() << "\n";
|
||||
cout << e.get_nr() << "\n" << e.what() << "\n";
|
||||
return 0;
|
||||
}
|
||||
cout << "101: Befehl ist unbekannt.\n";
|
||||
cout << "101\nBefehl ist unbekannt.\n";
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue