I have some code, that have error that I cannot repair by myself:
at line : if(a[i]!="b" have error: ISOC++ forbids comparison between pointer and integer.Code:int main(){
string a;
int i;
for(i=0;i<=a.size()-1;i++){
if(a[i]!="b"){
//do something
}
}
So, who help me on this error, please.
thanks :)

