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??

7th Mar 2017, 7:02 PM
Jitesh Dhamija
Jitesh Dhamija - avatar
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.
7th Mar 2017, 7:45 PM
Richard Valles
Richard Valles - avatar
0
using a tab means I am using the app on my tablet.....
8th Mar 2017, 3:54 AM
Jitesh Dhamija
Jitesh Dhamija - avatar
0
this is not working man
8th Mar 2017, 3:57 AM
Jitesh Dhamija
Jitesh Dhamija - avatar