0
How to compare two strings in cpp using a tab???
I have made a. program for taking some cosine and other things but I am having trouble in comparison of two strings in if statement what can I do??
3 Respostas
+ 2
You want to use the compare function of string for example
String x="happy";
string y="Happy";
if (x.compare(y)==0)
return true;
else
return false;
i'm not sure what you are referring to by using a tab though.
0
using a tab means I am using the app on my tablet.....
0
this is not working man