how do you compare strings using only one header file i.e. #include<cstdio>
Im a noob so i might get stuff wrong sorry.
Why doesnt this work:
Code:int i= 0;
int check=5;
while(a[i]==b[i]){
i++;
}
if(i==check){
printf("yess");
}else{
printf("nooo")