◐ Shell
clean mode source ↗

std::basic_ios::fill — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

CharT fill() const;

(1)

CharT fill( CharT ch );

(2)

Gère le caractère de remplissage utilisés pour remplir les conversions de sortie à la largeur du champ spécifié .

Original:

Manages the fill character used to pad the output conversions to the specified field width.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

1)

retourne le caractère de remplissage actuel

Original:

returns the current fill character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

2)

définit le caractère de remplissage d'ch, renvoie la valeur précédente du caractère de remplissage

Original:

sets the fill character to ch, returns previous value of the fill character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Paramètres

ch -

le caractère à utiliser comme caractère de remplissage

Original:

the character to use as fill character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Retourne la valeur

le caractère de remplissage avant l'appel à la fonction .

Original:

the fill character before the call to the function.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exemple