How do I make my strcmp not case sensitive?

To make strcmp case-insensitive, use strcasecmp from #include <strings. h> . strcasecmp can be used in exactly the same way as strcmp. To make strncmp case-insensitive, use strncasecmp from #include <strings.13 Ağu 2019

Sizin İçin Seçtik  Is string compare case sensitive C++?

Leave a Reply

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