Bonjour,
esque quelqu'un peut me donné la syntaxe de switch
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
switch ( c1 )
{c1=v1 : instruction 1;
c1=v1 : instruction 2;
c1=v1 : instruction 3;
c1=v1 : instruction 4;
default:  instruction default;
}

Merci