Can strcmp() work with strings in c++?

后端 未结 3 1727
孤独总比滥情好
孤独总比滥情好 2021-01-22 18:46

I have this line of code

if(strcmp(ob[i].getBrand(), ob[j].getBrand()) > 0)

and I get this error

error C2664: \'strcm

3条回答
提交回复
热议问题