va_start
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í. |
Definido en el archivo de encabezado <cstdarg>
|
void va_start(va_list ap, parm_n); |
||
La macro
va_start
permite el acceso a los argumentos de variable tras el argumento con nombre parm_n
. Original:
The
va_start
macro enables access to the variable arguments following the named argument parm_n
. 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.
va_start
es conveniente recurrir a una instancia de un objeto válido va_list ap
antes de cualquier llamada a va_arg .Original:
va_start
should be invoked with an instance to a valid va_list object ap
before any calls to va_arg.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.
Contenido |
[editar] Parámetros
ap | - | una instancia del tipo de va_list
Original: an instance of the va_list type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
parm_n | - | el parámetro llamado anterior a la primera parámetro variable
Original: the named parameter preceding the first variable parameter The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Ampliado valor
(Ninguno)
Original:
(none)
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.
[editar] Ejemplo
Ejecuta este código
Salida:
150
[editar] Ver también
Accede al siguiente argumento de función variádica. (macro de función) | |
Termina el recorrido de los argumentos de función variádica. (macro de función) |