CString.Compare("") C++ Code Example


Example: strcmp c++

#include<stdio.h>  #include<string.h>    int main()  {              char char1[] = "coucou";      char char2[] = "coucou";           	if( strcmp(char1, char2) == 0 )        printf("Strings are the same");      	else       prinf("Strings are differentes");           return 0;  }

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy