ajout semantique opérationnelle de For
This commit is contained in:
parent
3d4d2d68f6
commit
b2a18f19c4
16
CtrlBlanc/semOpFor.md
Normal file
16
CtrlBlanc/semOpFor.md
Normal file
@ -0,0 +1,16 @@
|
||||
La sémantique de la boucle ```for``` est définissable en terme de boucle ```while```:
|
||||
|
||||
```c
|
||||
for (e1 ; e2; e3) {
|
||||
…
|
||||
}
|
||||
```
|
||||
Devient
|
||||
|
||||
```c
|
||||
e1 ;
|
||||
while (e2) {
|
||||
…
|
||||
e3;
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue
Block a user