Does switch work with strings C++?

switch is only for integral types , if you want to branch depending on a string you need to use if/else .

Sizin İçin Seçtik  Samsung hızlı şarj nasıl yapılır?

Leave a Reply

Your email address will not be published. Required fields are marked *