goto statement
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Transfiere el control a la ubicación deseada
Original:
Transfers control to the desired location
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.
Se utiliza cuando es imposible de otro modo para transferir el control a la posición deseada usando construcciones convencionales .
Original:
Used when it is otherwise impossible to transfer control to the desired location using conventional constructs.
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] Sintaxis
goto label
|
|||||||||
[editar] Explicación
Las transferencias instrucción GoTo controlar a la ubicación especificada por label. La instrucción goto debe estar en la misma función que el label se está refiriendo. Si las transferencias GoTo controlar hacia atrás, todos los objetos, que aún no están inicializados en el label se destruyen. No está autorizado a transferir el control hacia adelante si hacerlo saltar la inicialización de un objeto .
Original:
The goto statement transfers control to the location, specified by label. The goto statement must be in the same function as the label it is referring. If goto statement transfers control backwards, all objects, that are not yet initialized at the label are destructed. It is not allowed to transfer control forwards if doing so would skip initialization of an object.
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] Palabras clave
[editar] Ejemplo
| This section is incomplete Reason: no example |