switch case in switch case

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

bonjour tous le monde es possible de faire un switch case a l’intérieur d'un switch case ??

   

je travail sur un soft "commande d'une carte cypress psoc 4 a partir d'un port usb ou j'envoie des commande" donc quand je commande par exemple une fonction a l’intérieur de cette fonction je dois encore envoyer un autre code (sous commande) d'où l’intérêt d'un autre switch case

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Yes, nested switch cases are possible in C-language.

   

Because forum language is English, it would be easier for us when you translate your message once for us. Otherwise everyone who wants to help has to translate it.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

oh sorry i realy forhet that ^^

   

i was wondering if it is possible to make a switch case inside a switch case ?? I work on a soft "command of a card cypress psoc 4 from a usb port or I send commands" so when I command for example a function inside this function I still have to send another code (Under command) hence the interest of another switch case
 

0 Likes
Anonymous
Not applicable

thank you bob for your answear ^^

0 Likes