Input/output manipulators
De cppreference.com
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
Los manipuladores son funciones auxiliares que hacen posible el control de entrada / salida de secuencias utilizando operator<< o operator>> .
Original:
Manipulators are helper functions that make it possible to control input/output streams using operator<< or operator>>.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Los manipuladores que se invocan sin argumentos (por ejemplo std::cout << std::boolalpha; o std::cin >> std::hex;) se implementan como funciones que toman una referencia a una secuencia como su único argumento. Las sobrecargas especiales de basic_ostream::operator<< y basic_istream::operator>> aceptar punteros a estas funciones .
Original:
The manipulators that are invoked without arguments (e.g. std::cout << std::boolalpha; or std::cin >> std::hex;) are implemented as functions that take a reference to a stream as their only argument. The special overloads of basic_ostream::operator<< and basic_istream::operator>> accept pointers to these functions.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Los manipuladores que son invocadas con argumentos (por ejemplo std::cout << std::setw(10);) se implementan como funciones que devuelven objetos de tipo no especificado. Estos manipuladores de definir su propio
operator<<
o operator>>
que realizan la manipulación solicitado .Original:
The manipulators that are invoked with arguments (e.g. std::cout << std::setw(10);) are implemented as functions returning objects of unspecified type. These manipulators define their own
operator<<
or operator>>
which perform the requested manipulation.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Definido en el archivo de encabezado
<ios> | |
cambia entre la representación textual y numérica de booleanos Original: switches between textual and numeric representation of booleans The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
Controla si se utiliza prefijo para indicar base numérica. (función) | |
controla si el punto decimal se incluye siempre en representación de punto flotante Original: controls whether decimal point is always included in floating-point representation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
controla si el signo + utilizados con números no negativosOriginal: controls whether the + sign used with non-negative numbersThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
controla si los principales espacios en blanco se pasa por alto en la entrada Original: controls whether leading whitespace is skipped on input The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
controls whether uppercase characters are used with some output formats (función) | |
Controla si la salida se vacía después de cada operación. (función) | |
define la posición de caracteres de relleno Original: sets the placement of fill characters The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
Cambia la base utilizada para la E/S de enteros. (función) | |
(C++11)(C++11) |
Los cambios de formato utilizado para punto flotante de I / O Original: changes formatting used for floating-point I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) |
Definido en el archivo de encabezado
<istream> | |
consume espacio en blanco Original: consumes whitespace The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (plantilla de función) | |
Definido en el archivo de encabezado
<ostream> | |
salidas '\0' Original: outputs '\0' The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (plantilla de función) | |
Vacía el flujo de salida. (plantilla de función) | |
Emite '\n' y vacía el flujo de salida. (plantilla de función) | |
Definido en el archivo de encabezado
<iomanip> | |
Borra los indicadores ios_base especificados. (función) | |
Establece los indicadores de ios_base especificados. (función) | |
Cambia la base usada para E/S de enteros. (función) | |
Cambia el carácter de relleno. (plantilla de función) | |
Cambia la precisión de punto flotante. (función) | |
Cambia el ancho del siguiente campo de entrada/salida. (función) | |
(C++11) |
Analiza un valor monetario. (plantilla de función) |
(C++11) |
Formatea y genera un valor monetario. (plantilla de función) |
(C++11) |
analiza un valor de fecha / hora de formato especificado Original: parses a date/time value of specified format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (plantilla de función) |
(C++11) |
formatos y las salidas un valor de fecha / tiempo de acuerdo con el formato especificado Original: formats and outputs a date/time value according to the specified format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (plantilla de función) |