C++ zentrieren
-
Hallo,
Wie wird in c++ ein gewisser abstand hergestellt. Bzw. EIn tabelarische Ausgabe?
In c ging das mit dem %15 dann erhielt man ein gewissen abstand.
Beispiel:
printf("Zahl1:%15 | Zahl2: %15",zahl1, zahl2)
Und in c++ ?
cout << ???? << ?????
:schland: :schland: :schland: :schland:
-
rtfm!
"Zahl1:\tZahl2...balblalbla"
-