![]() |
strncmpi
Code:
#include <stdio.h> |
Re: strncmpi
Oops, you forgot to read the posting guidelines. They're really not that difficult to miss and quite easy to read.
|
Re: strncmpi
Dear Friends,
There is no function like "strncmpi" in C . You should you the stcncmp function. iCmp = strncmp(acNamme,acPrint,3); |
Re: strncmpi
There is no such function called strncmpi in C.
If you want to compare the strings with case sensitive.Then,you use strncmp function. If you want to compare the strings ignoring case.Then,you use strncasecmp function which is similar to strncmp but ignores the case during comparison. |
Re: strncmpi
Are you trying to write your own strncmp function to perform case insensitive comparison?
|
Re: strncmpi
You can use this header file and save it as strncmpi.h
Code:
#include "autocfg.h" |
| All times are GMT +5.5. The time now is 04:42. |