Bonjours, j'me suis fait un switch en c++
int bob;
cin << bob;
switch (bob)
{
case 1:
{
cout << "1";
}
case 2:
{
cout <<"2";
}
case 3:
{
cout << "3";
}
}
résultat... quand bob =1 , il me cout << 123
si bob =2 il me cout << 23
si bob =3 il me cout <<3
vous comprenez ? il prend la case ou je lui dit de partir, mais il fait aussi les case suivante.. c normal ? on peut empecher ca ?!?! svp

