Liste des Groupes | Revenir à cl c |
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:On 21.12.2024 02:28, Tim Rentsch wrote:Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
On 16.12.2024 00:53, BGB wrote:
[...]>
>
Pretty much all higher level control flow can be expressed via
goto.
A 'goto' may be used but it isn't strictly *necessary*. What *is*
necessary, though, that is an 'if' (some conditional branch), and
either 'goto' or recursive functions.
Conditional branches, including 'if', '?:', etc., are not strictly
necessary either.
No? - Can you give an example of your statement?
Look at example that I posted (apparently neither you nor Tim
looked at my posts where I explained in detail how to translate
goto program (with conditional jumps) into program that contains
no goto and no conditional jumps).
Or try to figure out how to do this knowing that C has function
pointers.
Les messages affichés proviennent d'usenet.